diff options
Diffstat (limited to 'vendor/modernc.org/libc/sys/socket/socket_darwin_amd64.go')
-rw-r--r-- | vendor/modernc.org/libc/sys/socket/socket_darwin_amd64.go | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/vendor/modernc.org/libc/sys/socket/socket_darwin_amd64.go b/vendor/modernc.org/libc/sys/socket/socket_darwin_amd64.go index e5ea90e2..a17bddfa 100644 --- a/vendor/modernc.org/libc/sys/socket/socket_darwin_amd64.go +++ b/vendor/modernc.org/libc/sys/socket/socket_darwin_amd64.go @@ -583,6 +583,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // in between its arguments. __CONCAT can also concatenate double-quoted // strings produced by the __STRING macro, but this only works with ANSI C. +// In non-ANSI C environments, new programs will want ANSI-only C keywords +// deleted from the program and old programs will want them left alone. +// When using a compiler other than gcc, programs using the ANSI C keywords +// const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS. +// When using "gcc -traditional", we assume that this is the intent; if +// __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone. + // __unused denotes variables and functions that may not be used, preventing // the compiler from warning about it if not used. @@ -3150,15 +3157,6 @@ type Errno_t = int32 /* _errno_t.h:30:32 */ // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable -// DO NOT EDIT THIS FILE. -// -// It has been auto-edited by fixincludes from: -// -// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h" -// -// This had to be done to correct non-standard usages in the -// original, manufacturer supplied header file. - // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. // // @APPLE_LICENSE_HEADER_START@ @@ -3429,15 +3427,6 @@ type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */ // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable -// DO NOT EDIT THIS FILE. -// -// It has been auto-edited by fixincludes from: -// -// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h" -// -// This had to be done to correct non-standard usages in the -// original, manufacturer supplied header file. - // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. // // @APPLE_LICENSE_HEADER_START@ |