summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/uuid
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-03-12 23:02:04 +0100
committerWim <wim@42.be>2022-03-20 14:57:48 +0100
commitaefa70891cfd489fccb8a9567b5bdafb0f863ede (patch)
tree90fe7c91d7b33b2a1ed08ea3a94840860adc6fc1 /vendor/modernc.org/libc/uuid
parent1b9877fda45be021ea6a5677c78648cecc19dcd5 (diff)
downloadmatterbridge-msglm-aefa70891cfd489fccb8a9567b5bdafb0f863ede.tar.gz
matterbridge-msglm-aefa70891cfd489fccb8a9567b5bdafb0f863ede.tar.bz2
matterbridge-msglm-aefa70891cfd489fccb8a9567b5bdafb0f863ede.zip
Update vendor (whatsapp)
Diffstat (limited to 'vendor/modernc.org/libc/uuid')
-rw-r--r--vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go4
-rw-r--r--vendor/modernc.org/libc/uuid/uuid/uuid_darwin_amd64.go7
-rw-r--r--vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go9
3 files changed, 19 insertions, 1 deletions
diff --git a/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go b/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go
index 3c9d0135..e8c583fd 100644
--- a/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go
+++ b/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go
@@ -2,4 +2,6 @@
package uuid
-var CAPI = map[string]struct{}{}
+var CAPI = map[string]struct{}{
+ "__darwin_check_fd_set_overflow": {},
+}
diff --git a/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_amd64.go b/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_amd64.go
index da7407bc..ac5acdd9 100644
--- a/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_amd64.go
+++ b/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_amd64.go
@@ -185,6 +185,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/uuid/uuid/uuid_darwin_arm64.go b/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go
index 595e17f2..9cf36a53 100644
--- a/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go
+++ b/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go
@@ -53,6 +53,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: */
+
// Public include file for the UUID library
//
// Copyright (C) 1996, 1997, 1998 Theodore Ts'o.
@@ -185,6 +187,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).
//