diff options
Diffstat (limited to 'vendor/modernc.org/libc/grp')
-rw-r--r-- | vendor/modernc.org/libc/grp/capi_darwin_arm64.go | 4 | ||||
-rw-r--r-- | vendor/modernc.org/libc/grp/grp_darwin_amd64.go | 7 | ||||
-rw-r--r-- | vendor/modernc.org/libc/grp/grp_darwin_arm64.go | 9 |
3 files changed, 19 insertions, 1 deletions
diff --git a/vendor/modernc.org/libc/grp/capi_darwin_arm64.go b/vendor/modernc.org/libc/grp/capi_darwin_arm64.go index f0ca0522..9e6f03aa 100644 --- a/vendor/modernc.org/libc/grp/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/grp/capi_darwin_arm64.go @@ -2,4 +2,6 @@ package grp -var CAPI = map[string]struct{}{} +var CAPI = map[string]struct{}{ + "__darwin_check_fd_set_overflow": {}, +} diff --git a/vendor/modernc.org/libc/grp/grp_darwin_amd64.go b/vendor/modernc.org/libc/grp/grp_darwin_amd64.go index e442ce22..30f27935 100644 --- a/vendor/modernc.org/libc/grp/grp_darwin_amd64.go +++ b/vendor/modernc.org/libc/grp/grp_darwin_amd64.go @@ -219,6 +219,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. diff --git a/vendor/modernc.org/libc/grp/grp_darwin_arm64.go b/vendor/modernc.org/libc/grp/grp_darwin_arm64.go index a97a3335..428fe541 100644 --- a/vendor/modernc.org/libc/grp/grp_darwin_arm64.go +++ b/vendor/modernc.org/libc/grp/grp_darwin_arm64.go @@ -58,6 +58,8 @@ type X__uint128_t = struct { type X__builtin_va_list = uintptr /* <builtin>:46:14 */ type X__float128 = float64 /* <builtin>:47:21 */ +var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ + // - // Copyright (c) 1989, 1993 // The Regents of the University of California. All rights reserved. @@ -219,6 +221,13 @@ type X__float128 = float64 /* <builtin>:47:21 */ // 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. + // __pure2 can be used for functions that are only a function of their scalar // arguments (meaning they can't dereference pointers). // |