summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/errno
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-11-27 15:26:58 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-27 15:26:58 +0100
commit182b4eea73881c611a0f519576aa6ad2aa6799c2 (patch)
tree230fac469690fcee8797b13585e739be148d4789 /vendor/modernc.org/libc/errno
parentRequire confirmed email when checking oauth token (#332) (diff)
downloadgotosocial-182b4eea73881c611a0f519576aa6ad2aa6799c2.tar.xz
Update dependencies (#333)
Diffstat (limited to 'vendor/modernc.org/libc/errno')
-rw-r--r--vendor/modernc.org/libc/errno/capi_darwin_amd64.go2
-rw-r--r--vendor/modernc.org/libc/errno/capi_darwin_arm64.go2
-rw-r--r--vendor/modernc.org/libc/errno/capi_linux_386.go2
-rw-r--r--vendor/modernc.org/libc/errno/capi_linux_amd64.go2
-rw-r--r--vendor/modernc.org/libc/errno/capi_linux_arm.go2
-rw-r--r--vendor/modernc.org/libc/errno/capi_linux_arm64.go2
-rw-r--r--vendor/modernc.org/libc/errno/capi_linux_s390x.go2
-rw-r--r--vendor/modernc.org/libc/errno/capi_netbsd_amd64.go5
-rw-r--r--vendor/modernc.org/libc/errno/capi_windows_386.go2
-rw-r--r--vendor/modernc.org/libc/errno/capi_windows_amd64.go2
-rw-r--r--vendor/modernc.org/libc/errno/errno_darwin_amd64.go2
-rw-r--r--vendor/modernc.org/libc/errno/errno_darwin_arm64.go2
-rw-r--r--vendor/modernc.org/libc/errno/errno_linux_386.go3
-rw-r--r--vendor/modernc.org/libc/errno/errno_linux_amd64.go2
-rw-r--r--vendor/modernc.org/libc/errno/errno_linux_arm.go4
-rw-r--r--vendor/modernc.org/libc/errno/errno_linux_arm64.go4
-rw-r--r--vendor/modernc.org/libc/errno/errno_linux_s390x.go4
-rw-r--r--vendor/modernc.org/libc/errno/errno_netbsd_amd64.go144
-rw-r--r--vendor/modernc.org/libc/errno/errno_windows_386.go60
-rw-r--r--vendor/modernc.org/libc/errno/errno_windows_amd64.go3
20 files changed, 208 insertions, 43 deletions
diff --git a/vendor/modernc.org/libc/errno/capi_darwin_amd64.go b/vendor/modernc.org/libc/errno/capi_darwin_amd64.go
index e0b7cd826..4894d1516 100644
--- a/vendor/modernc.org/libc/errno/capi_darwin_amd64.go
+++ b/vendor/modernc.org/libc/errno/capi_darwin_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_amd64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_amd64.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/capi_darwin_arm64.go b/vendor/modernc.org/libc/errno/capi_darwin_arm64.go
index fa0a6a4c5..21541fdd9 100644
--- a/vendor/modernc.org/libc/errno/capi_darwin_arm64.go
+++ b/vendor/modernc.org/libc/errno/capi_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_arm64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_arm64.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/capi_linux_386.go b/vendor/modernc.org/libc/errno/capi_linux_386.go
index 3ec59e52a..e33ffcbc9 100644
--- a/vendor/modernc.org/libc/errno/capi_linux_386.go
+++ b/vendor/modernc.org/libc/errno/capi_linux_386.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_386.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_386.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/capi_linux_amd64.go b/vendor/modernc.org/libc/errno/capi_linux_amd64.go
index 096854704..60faf3823 100644
--- a/vendor/modernc.org/libc/errno/capi_linux_amd64.go
+++ b/vendor/modernc.org/libc/errno/capi_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_amd64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_amd64.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/capi_linux_arm.go b/vendor/modernc.org/libc/errno/capi_linux_arm.go
index 7d4dd76b9..1be1b8d34 100644
--- a/vendor/modernc.org/libc/errno/capi_linux_arm.go
+++ b/vendor/modernc.org/libc/errno/capi_linux_arm.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_arm.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_arm.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/capi_linux_arm64.go b/vendor/modernc.org/libc/errno/capi_linux_arm64.go
index ca099be94..1759c771d 100644
--- a/vendor/modernc.org/libc/errno/capi_linux_arm64.go
+++ b/vendor/modernc.org/libc/errno/capi_linux_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_arm64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_arm64.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/capi_linux_s390x.go b/vendor/modernc.org/libc/errno/capi_linux_s390x.go
index 5a24f0625..dc0306163 100644
--- a/vendor/modernc.org/libc/errno/capi_linux_s390x.go
+++ b/vendor/modernc.org/libc/errno/capi_linux_s390x.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_s390x.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_s390x.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/capi_netbsd_amd64.go b/vendor/modernc.org/libc/errno/capi_netbsd_amd64.go
new file mode 100644
index 000000000..ccaa50333
--- /dev/null
+++ b/vendor/modernc.org/libc/errno/capi_netbsd_amd64.go
@@ -0,0 +1,5 @@
+// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_netbsd_amd64.go -pkgname errno', DO NOT EDIT.
+
+package errno
+
+var CAPI = map[string]struct{}{}
diff --git a/vendor/modernc.org/libc/errno/capi_windows_386.go b/vendor/modernc.org/libc/errno/capi_windows_386.go
index d96973f23..076978ea2 100644
--- a/vendor/modernc.org/libc/errno/capi_windows_386.go
+++ b/vendor/modernc.org/libc/errno/capi_windows_386.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_windows_386.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_windows_386.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/capi_windows_amd64.go b/vendor/modernc.org/libc/errno/capi_windows_amd64.go
index 5155089ca..88b487f46 100644
--- a/vendor/modernc.org/libc/errno/capi_windows_amd64.go
+++ b/vendor/modernc.org/libc/errno/capi_windows_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_windows_amd64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno\gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno\errno_windows_amd64.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/errno_darwin_amd64.go b/vendor/modernc.org/libc/errno/errno_darwin_amd64.go
index 1d7292ad9..ce7e08067 100644
--- a/vendor/modernc.org/libc/errno/errno_darwin_amd64.go
+++ b/vendor/modernc.org/libc/errno/errno_darwin_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_amd64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_amd64.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/errno_darwin_arm64.go b/vendor/modernc.org/libc/errno/errno_darwin_arm64.go
index 327002019..5833c90fe 100644
--- a/vendor/modernc.org/libc/errno/errno_darwin_arm64.go
+++ b/vendor/modernc.org/libc/errno/errno_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_arm64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_arm64.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/errno_linux_386.go b/vendor/modernc.org/libc/errno/errno_linux_386.go
index d148b6605..ae8185c82 100644
--- a/vendor/modernc.org/libc/errno/errno_linux_386.go
+++ b/vendor/modernc.org/libc/errno/errno_linux_386.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_386.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_386.go -pkgname errno', DO NOT EDIT.
package errno
@@ -157,6 +157,7 @@ const (
X_ERRNO_H = 1
X_FEATURES_H = 1
X_FILE_OFFSET_BITS = 64
+ X_ILP32 = 1
X_POSIX_C_SOURCE = 200809
X_POSIX_SOURCE = 1
X_STDC_PREDEF_H = 1
diff --git a/vendor/modernc.org/libc/errno/errno_linux_amd64.go b/vendor/modernc.org/libc/errno/errno_linux_amd64.go
index f7b69c36c..920fd4ccc 100644
--- a/vendor/modernc.org/libc/errno/errno_linux_amd64.go
+++ b/vendor/modernc.org/libc/errno/errno_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_amd64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_amd64.go -pkgname errno', DO NOT EDIT.
package errno
diff --git a/vendor/modernc.org/libc/errno/errno_linux_arm.go b/vendor/modernc.org/libc/errno/errno_linux_arm.go
index 49a7ba609..923604310 100644
--- a/vendor/modernc.org/libc/errno/errno_linux_arm.go
+++ b/vendor/modernc.org/libc/errno/errno_linux_arm.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_arm.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_arm.go -pkgname errno', DO NOT EDIT.
package errno
@@ -174,4 +174,4 @@ type Wchar_t = uint32 /* <builtin>:15:24 */
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
-var _ int8 /* gen.c:2:13: */
+var _ uint8 /* gen.c:2:13: */
diff --git a/vendor/modernc.org/libc/errno/errno_linux_arm64.go b/vendor/modernc.org/libc/errno/errno_linux_arm64.go
index f0ea730cf..5ac7301f0 100644
--- a/vendor/modernc.org/libc/errno/errno_linux_arm64.go
+++ b/vendor/modernc.org/libc/errno/errno_linux_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_arm64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_arm64.go -pkgname errno', DO NOT EDIT.
package errno
@@ -184,4 +184,4 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
-var _ int8 /* gen.c:2:13: */
+var _ uint8 /* gen.c:2:13: */
diff --git a/vendor/modernc.org/libc/errno/errno_linux_s390x.go b/vendor/modernc.org/libc/errno/errno_linux_s390x.go
index 1f57b576d..4ecaf601d 100644
--- a/vendor/modernc.org/libc/errno/errno_linux_s390x.go
+++ b/vendor/modernc.org/libc/errno/errno_linux_s390x.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_s390x.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_s390x.go -pkgname errno', DO NOT EDIT.
package errno
@@ -184,4 +184,4 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
-var _ int8 /* gen.c:2:13: */
+var _ uint8 /* gen.c:2:13: */
diff --git a/vendor/modernc.org/libc/errno/errno_netbsd_amd64.go b/vendor/modernc.org/libc/errno/errno_netbsd_amd64.go
new file mode 100644
index 000000000..8a96a69d1
--- /dev/null
+++ b/vendor/modernc.org/libc/errno/errno_netbsd_amd64.go
@@ -0,0 +1,144 @@
+// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_netbsd_amd64.go -pkgname errno', DO NOT EDIT.
+
+package errno
+
+import (
+ "math"
+ "reflect"
+ "sync/atomic"
+ "unsafe"
+)
+
+var _ = math.Pi
+var _ reflect.Kind
+var _ atomic.Value
+var _ unsafe.Pointer
+
+const (
+ E2BIG = 7
+ EACCES = 13
+ EADDRINUSE = 48
+ EADDRNOTAVAIL = 49
+ EAFNOSUPPORT = 47
+ EAGAIN = 35
+ EALREADY = 37
+ EAUTH = 80
+ EBADF = 9
+ EBADMSG = 88
+ EBADRPC = 72
+ EBUSY = 16
+ ECANCELED = 87
+ ECHILD = 10
+ ECONNABORTED = 53
+ ECONNREFUSED = 61
+ ECONNRESET = 54
+ EDEADLK = 11
+ EDESTADDRREQ = 39
+ EDOM = 33
+ EDQUOT = 69
+ EEXIST = 17
+ EFAULT = 14
+ EFBIG = 27
+ EFTYPE = 79
+ EHOSTDOWN = 64
+ EHOSTUNREACH = 65
+ EIDRM = 82
+ EILSEQ = 85
+ EINPROGRESS = 36
+ EINTR = 4
+ EINVAL = 22
+ EIO = 5
+ EISCONN = 56
+ EISDIR = 21
+ ELAST = 96
+ ELOOP = 62
+ EMFILE = 24
+ EMLINK = 31
+ EMSGSIZE = 40
+ EMULTIHOP = 94
+ ENAMETOOLONG = 63
+ ENEEDAUTH = 81
+ ENETDOWN = 50
+ ENETRESET = 52
+ ENETUNREACH = 51
+ ENFILE = 23
+ ENOATTR = 93
+ ENOBUFS = 55
+ ENODATA = 89
+ ENODEV = 19
+ ENOENT = 2
+ ENOEXEC = 8
+ ENOLCK = 77
+ ENOLINK = 95
+ ENOMEM = 12
+ ENOMSG = 83
+ ENOPROTOOPT = 42
+ ENOSPC = 28
+ ENOSR = 90
+ ENOSTR = 91
+ ENOSYS = 78
+ ENOTBLK = 15
+ ENOTCONN = 57
+ ENOTDIR = 20
+ ENOTEMPTY = 66
+ ENOTSOCK = 38
+ ENOTSUP = 86
+ ENOTTY = 25
+ ENXIO = 6
+ EOPNOTSUPP = 45
+ EOVERFLOW = 84
+ EPERM = 1
+ EPFNOSUPPORT = 46
+ EPIPE = 32
+ EPROCLIM = 67
+ EPROCUNAVAIL = 76
+ EPROGMISMATCH = 75
+ EPROGUNAVAIL = 74
+ EPROTO = 96
+ EPROTONOSUPPORT = 43
+ EPROTOTYPE = 41
+ ERANGE = 34
+ EREMOTE = 71
+ EROFS = 30
+ ERPCMISMATCH = 73
+ ESHUTDOWN = 58
+ ESOCKTNOSUPPORT = 44
+ ESPIPE = 29
+ ESRCH = 3
+ ESTALE = 70
+ ETIME = 92
+ ETIMEDOUT = 60
+ ETOOMANYREFS = 59
+ ETXTBSY = 26
+ EUSERS = 68
+ EWOULDBLOCK = 35
+ EXDEV = 18
+ X_ERRNO_H_ = 0
+ X_FILE_OFFSET_BITS = 64
+ X_LP64 = 1
+ X_NETBSD_SOURCE = 1
+ X_SYS_CDEFS_ELF_H_ = 0
+ X_SYS_CDEFS_H_ = 0
+ X_SYS_ERRNO_H_ = 0
+ X_X86_64_CDEFS_H_ = 0
+)
+
+type Ptrdiff_t = int64 /* <builtin>:3:26 */
+
+type Size_t = uint64 /* <builtin>:9:23 */
+
+type Wchar_t = int32 /* <builtin>:15:24 */
+
+type X__int128_t = struct {
+ Flo int64
+ Fhi int64
+} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
+type X__uint128_t = struct {
+ Flo uint64
+ Fhi uint64
+} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
+
+type X__builtin_va_list = uintptr /* <builtin>:46:14 */
+type X__float128 = float64 /* <builtin>:47:21 */
+
+var _ int8 /* gen.c:2:13: */
diff --git a/vendor/modernc.org/libc/errno/errno_windows_386.go b/vendor/modernc.org/libc/errno/errno_windows_386.go
index 73527e5de..4f0dfbe56 100644
--- a/vendor/modernc.org/libc/errno/errno_windows_386.go
+++ b/vendor/modernc.org/libc/errno/errno_windows_386.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_windows_386.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_windows_386.go -pkgname errno', DO NOT EDIT.
package errno
@@ -112,9 +112,7 @@ const (
EWOULDBLOCK = 140
EXDEV = 18
MINGW_DDK_H = 0
- MINGW_DDRAW_VERSION = 7
MINGW_HAS_DDK_H = 1
- MINGW_HAS_DDRAW_H = 1
MINGW_HAS_SECURE_API = 1
MINGW_SDK_INIT = 0
STRUNCATE = 80
@@ -138,9 +136,12 @@ const (
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
+ X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0
X_DLL = 0
X_ERRCODE_DEFINED = 0
X_FILE_OFFSET_BITS = 64
+ X_ILP32 = 1
+ X_INC_CORECRT = 0
X_INC_CRTDEFS = 0
X_INC_CRTDEFS_MACRO = 0
X_INC_ERRNO = 0
@@ -209,6 +210,11 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
// This file is part of the mingw-w64 runtime package.
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
+// *
+// This file has no copyright assigned and is placed in the Public Domain.
+// This file is part of the mingw-w64 runtime package.
+// No warranty is given; refer to the file DISCLAIMER.PD within this package.
+
// This macro holds an monotonic increasing value, which indicates
// a specific fix/patch is present on trunk. This value isn't related to
// minor/major version-macros. It is increased on demand, if a big
@@ -229,6 +235,12 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
// MinGW-w64 has some additional C99 printf/scanf feature support.
// So we add some helper macros to ease recognition of them.
+// If _FORTIFY_SOURCE is enabled, some inline functions may use
+// __builtin_va_arg_pack(). GCC may report an error if the address
+// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
+
+// Enable workaround for ABI incompatibility on affected platforms
+
// *
// This file has no copyright assigned and is placed in the Public Domain.
// This file is part of the mingw-w64 runtime package.
@@ -269,26 +281,28 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
// This file is part of the mingw-w64 runtime package.
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
+// for backward compatibility
+
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
-type Ssize_t = int32 /* crtdefs.h:47:13 */
+type Ssize_t = int32 /* corecrt.h:52:13 */
-type Rsize_t = Size_t /* crtdefs.h:52:16 */
+type Rsize_t = Size_t /* corecrt.h:57:16 */
-type Intptr_t = int32 /* crtdefs.h:64:13 */
+type Intptr_t = int32 /* corecrt.h:69:13 */
-type Uintptr_t = uint32 /* crtdefs.h:77:22 */
+type Uintptr_t = uint32 /* corecrt.h:82:22 */
-type Wint_t = uint16 /* crtdefs.h:106:24 */
-type Wctype_t = uint16 /* crtdefs.h:107:24 */
+type Wint_t = uint16 /* corecrt.h:111:24 */
+type Wctype_t = uint16 /* corecrt.h:112:24 */
-type Errno_t = int32 /* crtdefs.h:113:13 */
+type Errno_t = int32 /* corecrt.h:118:13 */
-type X__time32_t = int32 /* crtdefs.h:118:14 */
+type X__time32_t = int32 /* corecrt.h:123:14 */
-type X__time64_t = int64 /* crtdefs.h:123:35 */
+type X__time64_t = int64 /* corecrt.h:128:35 */
-type Time_t = X__time32_t /* crtdefs.h:136:20 */
+type Time_t = X__time32_t /* corecrt.h:141:20 */
type Threadlocaleinfostruct = struct {
Frefcount int32
@@ -314,29 +328,29 @@ type Threadlocaleinfostruct = struct {
Fpclmap uintptr
Fpcumap uintptr
Flc_time_curr uintptr
-} /* crtdefs.h:422:1 */
+} /* corecrt.h:435:1 */
-type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
-type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
+type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
+type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
type Localeinfo_struct = struct {
Flocinfo Pthreadlocinfo
Fmbcinfo Pthreadmbcinfo
-} /* crtdefs.h:428:9 */
+} /* corecrt.h:441:9 */
-type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
-type X_locale_t = uintptr /* crtdefs.h:431:19 */
+type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
+type X_locale_t = uintptr /* corecrt.h:444:19 */
type TagLC_ID = struct {
FwLanguage uint16
FwCountry uint16
FwCodePage uint16
-} /* crtdefs.h:422:1 */
+} /* corecrt.h:435:1 */
-type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
-type LPLC_ID = uintptr /* crtdefs.h:439:9 */
+type LC_ID = TagLC_ID /* corecrt.h:452:3 */
+type LPLC_ID = uintptr /* corecrt.h:452:9 */
-type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
+type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
// Posix thread extensions.
diff --git a/vendor/modernc.org/libc/errno/errno_windows_amd64.go b/vendor/modernc.org/libc/errno/errno_windows_amd64.go
index 05d61a94c..5ba0ea58d 100644
--- a/vendor/modernc.org/libc/errno/errno_windows_amd64.go
+++ b/vendor/modernc.org/libc/errno/errno_windows_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_windows_amd64.go -pkgname errno', DO NOT EDIT.
+// Code generated by 'ccgo errno\gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno\errno_windows_amd64.go -pkgname errno', DO NOT EDIT.
package errno
@@ -157,6 +157,7 @@ const (
X_PGLOBAL = 0
X_PTRDIFF_T_ = 0
X_PTRDIFF_T_DEFINED = 0
+ X_REENTRANT = 1
X_RSIZE_T_DEFINED = 0
X_SECURECRT_ERRCODE_VALUES_DEFINED = 0
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD