File: sys-socket.h.diff

package info (click to toggle)
rdma-core 44.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,172 kB
  • sloc: ansic: 164,822; python: 12,221; sh: 2,762; perl: 1,465; makefile: 73
file content (11 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- /usr/include/x86_64-linux-gnu/sys/socket.h	2022-07-06 23:23:23.000000000 +0000
+++ include/sys/socket.h	2022-11-25 17:37:07.463320432 +0000
@@ -54,7 +54,7 @@
    uses with any of the listed types to be allowed without complaint.
    G++ 2.7 does not support transparent unions so there we want the
    old-style declaration, too.  */
-#if defined __cplusplus || !__GNUC_PREREQ (2, 7) || !defined __USE_GNU
+#if 1
 # define __SOCKADDR_ARG		struct sockaddr *__restrict
 # define __CONST_SOCKADDR_ARG	const struct sockaddr *
 #else