summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/errno
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2022-05-02 14:05:18 +0100
committerLibravatar GitHub <noreply@github.com>2022-05-02 15:05:18 +0200
commitb56dae8120d43b9acd3d3ed4d40100ffab7b972a (patch)
treed55d30589d8a8499ed3d5eecba163abc9fa78c27 /vendor/modernc.org/libc/errno
parentadd extra indexes as a migration (#527) (diff)
downloadgotosocial-b56dae8120d43b9acd3d3ed4d40100ffab7b972a.tar.xz
[chore] Update all but bun libraries (#526)
* update all but bun libraries Signed-off-by: kim <grufwub@gmail.com> * remove my personal build script changes Signed-off-by: kim <grufwub@gmail.com>
Diffstat (limited to 'vendor/modernc.org/libc/errno')
-rw-r--r--vendor/modernc.org/libc/errno/capi_linux_ppc64le.go5
-rw-r--r--vendor/modernc.org/libc/errno/capi_windows_arm64.go5
-rw-r--r--vendor/modernc.org/libc/errno/errno_linux_ppc64le.go201
-rw-r--r--vendor/modernc.org/libc/errno/errno_windows_arm64.go363
4 files changed, 574 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/errno/capi_linux_ppc64le.go b/vendor/modernc.org/libc/errno/capi_linux_ppc64le.go
new file mode 100644
index 000000000..cbfad73ac
--- /dev/null
+++ b/vendor/modernc.org/libc/errno/capi_linux_ppc64le.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 -ignore-unsupported-alignment -o errno/errno_linux_ppc64le.go -pkgname errno', DO NOT EDIT.
+
+package errno
+
+var CAPI = map[string]struct{}{}
diff --git a/vendor/modernc.org/libc/errno/capi_windows_arm64.go b/vendor/modernc.org/libc/errno/capi_windows_arm64.go
new file mode 100644
index 000000000..b2a64d7c0
--- /dev/null
+++ b/vendor/modernc.org/libc/errno/capi_windows_arm64.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_windows_arm64.go -pkgname errno', DO NOT EDIT.
+
+package errno
+
+var CAPI = map[string]struct{}{}
diff --git a/vendor/modernc.org/libc/errno/errno_linux_ppc64le.go b/vendor/modernc.org/libc/errno/errno_linux_ppc64le.go
new file mode 100644
index 000000000..dd2dd781d
--- /dev/null
+++ b/vendor/modernc.org/libc/errno/errno_linux_ppc64le.go
@@ -0,0 +1,201 @@
+// 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 -ignore-unsupported-alignment -o errno/errno_linux_ppc64le.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 // errno-base.h:11:1:
+ EACCES = 13 // errno-base.h:17:1:
+ EADDRINUSE = 98 // errno.h:81:1:
+ EADDRNOTAVAIL = 99 // errno.h:82:1:
+ EADV = 68 // errno.h:51:1:
+ EAFNOSUPPORT = 97 // errno.h:80:1:
+ EAGAIN = 11 // errno-base.h:15:1:
+ EALREADY = 114 // errno.h:97:1:
+ EBADE = 52 // errno.h:33:1:
+ EBADF = 9 // errno-base.h:13:1:
+ EBADFD = 77 // errno.h:60:1:
+ EBADMSG = 74 // errno.h:57:1:
+ EBADR = 53 // errno.h:34:1:
+ EBADRQC = 56 // errno.h:37:1:
+ EBADSLT = 57 // errno.h:38:1:
+ EBFONT = 59 // errno.h:42:1:
+ EBUSY = 16 // errno-base.h:20:1:
+ ECANCELED = 125 // errno.h:109:1:
+ ECHILD = 10 // errno-base.h:14:1:
+ ECHRNG = 44 // errno.h:25:1:
+ ECOMM = 70 // errno.h:53:1:
+ ECONNABORTED = 103 // errno.h:86:1:
+ ECONNREFUSED = 111 // errno.h:94:1:
+ ECONNRESET = 104 // errno.h:87:1:
+ EDEADLK = 35 // errno.h:7:1:
+ EDEADLOCK = 58 // errno.h:8:1:
+ EDESTADDRREQ = 89 // errno.h:72:1:
+ EDOM = 33 // errno-base.h:37:1:
+ EDOTDOT = 73 // errno.h:56:1:
+ EDQUOT = 122 // errno.h:105:1:
+ EEXIST = 17 // errno-base.h:21:1:
+ EFAULT = 14 // errno-base.h:18:1:
+ EFBIG = 27 // errno-base.h:31:1:
+ EHOSTDOWN = 112 // errno.h:95:1:
+ EHOSTUNREACH = 113 // errno.h:96:1:
+ EHWPOISON = 133 // errno.h:121:1:
+ EIDRM = 43 // errno.h:24:1:
+ EILSEQ = 84 // errno.h:67:1:
+ EINPROGRESS = 115 // errno.h:98:1:
+ EINTR = 4 // errno-base.h:8:1:
+ EINVAL = 22 // errno-base.h:26:1:
+ EIO = 5 // errno-base.h:9:1:
+ EISCONN = 106 // errno.h:89:1:
+ EISDIR = 21 // errno-base.h:25:1:
+ EISNAM = 120 // errno.h:103:1:
+ EKEYEXPIRED = 127 // errno.h:111:1:
+ EKEYREJECTED = 129 // errno.h:113:1:
+ EKEYREVOKED = 128 // errno.h:112:1:
+ EL2HLT = 51 // errno.h:32:1:
+ EL2NSYNC = 45 // errno.h:26:1:
+ EL3HLT = 46 // errno.h:27:1:
+ EL3RST = 47 // errno.h:28:1:
+ ELIBACC = 79 // errno.h:62:1:
+ ELIBBAD = 80 // errno.h:63:1:
+ ELIBEXEC = 83 // errno.h:66:1:
+ ELIBMAX = 82 // errno.h:65:1:
+ ELIBSCN = 81 // errno.h:64:1:
+ ELNRNG = 48 // errno.h:29:1:
+ ELOOP = 40 // errno.h:21:1:
+ EMEDIUMTYPE = 124 // errno.h:108:1:
+ EMFILE = 24 // errno-base.h:28:1:
+ EMLINK = 31 // errno-base.h:35:1:
+ EMSGSIZE = 90 // errno.h:73:1:
+ EMULTIHOP = 72 // errno.h:55:1:
+ ENAMETOOLONG = 36 // errno.h:8:1:
+ ENAVAIL = 119 // errno.h:102:1:
+ ENETDOWN = 100 // errno.h:83:1:
+ ENETRESET = 102 // errno.h:85:1:
+ ENETUNREACH = 101 // errno.h:84:1:
+ ENFILE = 23 // errno-base.h:27:1:
+ ENOANO = 55 // errno.h:36:1:
+ ENOBUFS = 105 // errno.h:88:1:
+ ENOCSI = 50 // errno.h:31:1:
+ ENODATA = 61 // errno.h:44:1:
+ ENODEV = 19 // errno-base.h:23:1:
+ ENOENT = 2 // errno-base.h:6:1:
+ ENOEXEC = 8 // errno-base.h:12:1:
+ ENOKEY = 126 // errno.h:110:1:
+ ENOLCK = 37 // errno.h:9:1:
+ ENOLINK = 67 // errno.h:50:1:
+ ENOMEDIUM = 123 // errno.h:107:1:
+ ENOMEM = 12 // errno-base.h:16:1:
+ ENOMSG = 42 // errno.h:23:1:
+ ENONET = 64 // errno.h:47:1:
+ ENOPKG = 65 // errno.h:48:1:
+ ENOPROTOOPT = 92 // errno.h:75:1:
+ ENOSPC = 28 // errno-base.h:32:1:
+ ENOSR = 63 // errno.h:46:1:
+ ENOSTR = 60 // errno.h:43:1:
+ ENOSYS = 38 // errno.h:18:1:
+ ENOTBLK = 15 // errno-base.h:19:1:
+ ENOTCONN = 107 // errno.h:90:1:
+ ENOTDIR = 20 // errno-base.h:24:1:
+ ENOTEMPTY = 39 // errno.h:20:1:
+ ENOTNAM = 118 // errno.h:101:1:
+ ENOTRECOVERABLE = 131 // errno.h:117:1:
+ ENOTSOCK = 88 // errno.h:71:1:
+ ENOTSUP = 95 // errno.h:30:1:
+ ENOTTY = 25 // errno-base.h:29:1:
+ ENOTUNIQ = 76 // errno.h:59:1:
+ ENXIO = 6 // errno-base.h:10:1:
+ EOPNOTSUPP = 95 // errno.h:78:1:
+ EOVERFLOW = 75 // errno.h:58:1:
+ EOWNERDEAD = 130 // errno.h:116:1:
+ EPERM = 1 // errno-base.h:5:1:
+ EPFNOSUPPORT = 96 // errno.h:79:1:
+ EPIPE = 32 // errno-base.h:36:1:
+ EPROTO = 71 // errno.h:54:1:
+ EPROTONOSUPPORT = 93 // errno.h:76:1:
+ EPROTOTYPE = 91 // errno.h:74:1:
+ ERANGE = 34 // errno-base.h:38:1:
+ EREMCHG = 78 // errno.h:61:1:
+ EREMOTE = 66 // errno.h:49:1:
+ EREMOTEIO = 121 // errno.h:104:1:
+ ERESTART = 85 // errno.h:68:1:
+ ERFKILL = 132 // errno.h:119:1:
+ EROFS = 30 // errno-base.h:34:1:
+ ESHUTDOWN = 108 // errno.h:91:1:
+ ESOCKTNOSUPPORT = 94 // errno.h:77:1:
+ ESPIPE = 29 // errno-base.h:33:1:
+ ESRCH = 3 // errno-base.h:7:1:
+ ESRMNT = 69 // errno.h:52:1:
+ ESTALE = 116 // errno.h:99:1:
+ ESTRPIPE = 86 // errno.h:69:1:
+ ETIME = 62 // errno.h:45:1:
+ ETIMEDOUT = 110 // errno.h:93:1:
+ ETOOMANYREFS = 109 // errno.h:92:1:
+ ETXTBSY = 26 // errno-base.h:30:1:
+ EUCLEAN = 117 // errno.h:100:1:
+ EUNATCH = 49 // errno.h:30:1:
+ EUSERS = 87 // errno.h:70:1:
+ EWOULDBLOCK = 11 // errno.h:22:1:
+ EXDEV = 18 // errno-base.h:22:1:
+ EXFULL = 54 // errno.h:35:1:
+ X_ARCH_PPC = 1 // <predefined>:198:1:
+ X_ARCH_PPC64 = 1 // <predefined>:402:1:
+ X_ARCH_PPCGR = 1 // <predefined>:15:1:
+ X_ARCH_PPCSQ = 1 // <predefined>:43:1:
+ X_ARCH_PWR4 = 1 // <predefined>:381:1:
+ X_ARCH_PWR5 = 1 // <predefined>:90:1:
+ X_ARCH_PWR5X = 1 // <predefined>:137:1:
+ X_ARCH_PWR6 = 1 // <predefined>:91:1:
+ X_ARCH_PWR7 = 1 // <predefined>:92:1:
+ X_ARCH_PWR8 = 1 // <predefined>:93:1:
+ X_ASM_GENERIC_ERRNO_BASE_H = 0 // errno-base.h:3:1:
+ X_ASM_GENERIC_ERRNO_H = 0 // errno.h:3:1:
+ X_ASM_POWERPC_ERRNO_H = 0 // errno.h:3:1:
+ X_ATFILE_SOURCE = 1 // features.h:342:1:
+ X_BITS_ERRNO_H = 1 // errno.h:20:1:
+ X_CALL_ELF = 2 // <predefined>:415:1:
+ X_CALL_LINUX = 1 // <predefined>:123:1:
+ X_DEFAULT_SOURCE = 1 // features.h:227:1:
+ X_ERRNO_H = 1 // errno.h:23:1:
+ X_FEATURES_H = 1 // features.h:19:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_LITTLE_ENDIAN = 1 // <predefined>:37:1:
+ X_LP64 = 1 // <predefined>:335:1:
+ X_POSIX_C_SOURCE = 200809 // features.h:281:1:
+ X_POSIX_SOURCE = 1 // features.h:279:1:
+ X_STDC_PREDEF_H = 1 // <predefined>:203:1:
+ X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
+ Linux = 1 // <predefined>:263:1:
+ Unix = 1 // <predefined>:222:1:
+)
+
+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__ieee128 = float64 /* <builtin>:47:21 */
+
+var _ uint8 /* gen.c:2:13: */
diff --git a/vendor/modernc.org/libc/errno/errno_windows_arm64.go b/vendor/modernc.org/libc/errno/errno_windows_arm64.go
new file mode 100644
index 000000000..a3e0c40cc
--- /dev/null
+++ b/vendor/modernc.org/libc/errno/errno_windows_arm64.go
@@ -0,0 +1,363 @@
+// 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_arm64.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 (
+ DUMMYSTRUCTNAME = 0
+ DUMMYSTRUCTNAME1 = 0
+ DUMMYSTRUCTNAME2 = 0
+ DUMMYSTRUCTNAME3 = 0
+ DUMMYSTRUCTNAME4 = 0
+ DUMMYSTRUCTNAME5 = 0
+ DUMMYUNIONNAME = 0
+ DUMMYUNIONNAME1 = 0
+ DUMMYUNIONNAME2 = 0
+ DUMMYUNIONNAME3 = 0
+ DUMMYUNIONNAME4 = 0
+ DUMMYUNIONNAME5 = 0
+ DUMMYUNIONNAME6 = 0
+ DUMMYUNIONNAME7 = 0
+ DUMMYUNIONNAME8 = 0
+ DUMMYUNIONNAME9 = 0
+ E2BIG = 7
+ EACCES = 13
+ EADDRINUSE = 100
+ EADDRNOTAVAIL = 101
+ EAFNOSUPPORT = 102
+ EAGAIN = 11
+ EALREADY = 103
+ EBADF = 9
+ EBADMSG = 104
+ EBUSY = 16
+ ECANCELED = 105
+ ECHILD = 10
+ ECONNABORTED = 106
+ ECONNREFUSED = 107
+ ECONNRESET = 108
+ EDEADLK = 36
+ EDEADLOCK = 36
+ EDESTADDRREQ = 109
+ EDOM = 33
+ EEXIST = 17
+ EFAULT = 14
+ EFBIG = 27
+ EHOSTUNREACH = 110
+ EIDRM = 111
+ EILSEQ = 42
+ EINPROGRESS = 112
+ EINTR = 4
+ EINVAL = 22
+ EIO = 5
+ EISCONN = 113
+ EISDIR = 21
+ ELOOP = 114
+ EMFILE = 24
+ EMLINK = 31
+ EMSGSIZE = 115
+ ENAMETOOLONG = 38
+ ENETDOWN = 116
+ ENETRESET = 117
+ ENETUNREACH = 118
+ ENFILE = 23
+ ENOBUFS = 119
+ ENODATA = 120
+ ENODEV = 19
+ ENOENT = 2
+ ENOEXEC = 8
+ ENOFILE = 2
+ ENOLCK = 39
+ ENOLINK = 121
+ ENOMEM = 12
+ ENOMSG = 122
+ ENOPROTOOPT = 123
+ ENOSPC = 28
+ ENOSR = 124
+ ENOSTR = 125
+ ENOSYS = 40
+ ENOTCONN = 126
+ ENOTDIR = 20
+ ENOTEMPTY = 41
+ ENOTRECOVERABLE = 127
+ ENOTSOCK = 128
+ ENOTSUP = 129
+ ENOTTY = 25
+ ENXIO = 6
+ EOPNOTSUPP = 130
+ EOVERFLOW = 132
+ EOWNERDEAD = 133
+ EPERM = 1
+ EPIPE = 32
+ EPROTO = 134
+ EPROTONOSUPPORT = 135
+ EPROTOTYPE = 136
+ ERANGE = 34
+ EROFS = 30
+ ESPIPE = 29
+ ESRCH = 3
+ ETIME = 137
+ ETIMEDOUT = 138
+ ETXTBSY = 139
+ EWOULDBLOCK = 140
+ EXDEV = 18
+ MINGW_DDK_H = 0
+ MINGW_HAS_DDK_H = 1
+ MINGW_HAS_SECURE_API = 1
+ MINGW_SDK_INIT = 0
+ STRUNCATE = 80
+ UNALIGNED = 0
+ USE___UUIDOF = 0
+ WIN32 = 1
+ WIN64 = 1
+ WINNT = 1
+ X_AGLOBAL = 0
+ X_ANONYMOUS_STRUCT = 0
+ X_ANONYMOUS_UNION = 0
+ X_ARGMAX = 100
+ X_ARM64_ = 1
+ X_CONST_RETURN = 0
+ X_CRTNOALIAS = 0
+ X_CRTRESTRICT = 0
+ X_CRT_ALTERNATIVE_IMPORTED = 0
+ X_CRT_ERRNO_DEFINED = 0
+ X_CRT_MANAGED_HEAP_DEPRECATE = 0
+ X_CRT_PACKING = 8
+ X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0
+ X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
+ 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_INC_CORECRT = 0
+ X_INC_CRTDEFS = 0
+ X_INC_CRTDEFS_MACRO = 0
+ X_INC_ERRNO = 0
+ X_INC_MINGW_SECAPI = 0
+ X_INC_VADEFS = 0
+ X_INC__MINGW_H = 0
+ X_INT128_DEFINED = 0
+ X_INTPTR_T_DEFINED = 0
+ X_MT = 0
+ X_M_ARM64 = 1
+ X_PGLOBAL = 0
+ X_PTRDIFF_T_ = 0
+ X_PTRDIFF_T_DEFINED = 0
+ X_RSIZE_T_DEFINED = 0
+ X_SECURECRT_ERRCODE_VALUES_DEFINED = 0
+ X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
+ X_SIZE_T_DEFINED = 0
+ X_SSIZE_T_DEFINED = 0
+ X_TAGLC_ID_DEFINED = 0
+ X_THREADLOCALEINFO = 0
+ X_TIME32_T_DEFINED = 0
+ X_TIME64_T_DEFINED = 0
+ X_TIME_T_DEFINED = 0
+ X_UCRT = 0
+ X_UINTPTR_T_DEFINED = 0
+ X_VA_LIST_DEFINED = 0
+ X_W64 = 0
+ X_WCHAR_T_DEFINED = 0
+ X_WCTYPE_T_DEFINED = 0
+ X_WIN32 = 1
+ X_WIN32_WINNT = 0x601
+ X_WIN64 = 1
+ X_WINT_T = 0
+)
+
+type Ptrdiff_t = int64 /* <builtin>:3:26 */
+
+type Size_t = uint64 /* <builtin>:9:23 */
+
+type Wchar_t = uint16 /* <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 */
+
+type Va_list = X__builtin_va_list /* <builtin>:50:27 */
+
+// *
+// 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 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 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 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 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
+// fix was applied to trunk. This macro gets just increased on trunk. For
+// other branches its value won't be modified.
+
+// mingw.org's version macros: these make gcc to define
+// MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global
+// and the __mingwthr_key_dtor() function from the MinGW
+// CRT in its private gthr-win32.h header.
+
+// Set VC specific compiler target macros.
+
+// MS does not prefix symbols by underscores for 64-bit.
+// As we have to support older gcc version, which are using underscores
+// as symbol prefix for x64, we have to check here for the user label
+// prefix defined by gcc.
+
+// Special case nameless struct/union.
+
+// 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.
+// No warranty is given; refer to the file DISCLAIMER.PD within this package.
+
+// http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx
+// Templates won't work in C, will break if secure API is not enabled, disabled
+
+// https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true
+// fallback on default implementation if we can't know the size of the destination
+
+// Include _cygwin.h if we're building a Cygwin application.
+
+// Target specific macro replacement for type "long". In the Windows API,
+// the type long is always 32 bit, even if the target is 64 bit (LLP64).
+// On 64 bit Cygwin, the type long is 64 bit (LP64). So, to get the right
+// sized definitions and declarations, all usage of type long in the Windows
+// headers have to be replaced by the below defined macro __LONG32.
+
+// C/C++ specific language defines.
+
+// Note the extern. This is needed to work around GCC's
+// limitations in handling dllimport attribute.
+
+// Attribute `nonnull' was valid as of gcc 3.3. We don't use GCC's
+// variadiac macro facility, because variadic macros cause syntax
+// errors with --traditional-cpp.
+
+// High byte is the major version, low byte is the minor.
+
+// Allow both 0x1400 and 0xE00 to identify UCRT
+
+// ===-------- vadefs.h ---------------------------------------------------===
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===-----------------------------------------------------------------------===
+
+// Only include this if we are aiming for MSVC compatibility.
+// *
+// 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 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.
+
+// for backward compatibility
+
+type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
+
+type Ssize_t = int64 /* corecrt.h:45:35 */
+
+type Rsize_t = Size_t /* corecrt.h:52:16 */
+
+type Intptr_t = int64 /* corecrt.h:62:35 */
+
+type Uintptr_t = uint64 /* corecrt.h:75:44 */
+
+type Wint_t = uint16 /* corecrt.h:106:24 */
+type Wctype_t = uint16 /* corecrt.h:107:24 */
+
+type Errno_t = int32 /* corecrt.h:113:13 */
+
+type X__time32_t = int32 /* corecrt.h:118:14 */
+
+type X__time64_t = int64 /* corecrt.h:123:35 */
+
+type Time_t = X__time64_t /* corecrt.h:138:20 */
+
+type Threadlocaleinfostruct = struct {
+ F_locale_pctype uintptr
+ F_locale_mb_cur_max int32
+ F_locale_lc_codepage uint32
+} /* corecrt.h:430:1 */
+
+type Pthreadlocinfo = uintptr /* corecrt.h:432:39 */
+type Pthreadmbcinfo = uintptr /* corecrt.h:433:36 */
+
+type Localeinfo_struct = struct {
+ Flocinfo Pthreadlocinfo
+ Fmbcinfo Pthreadmbcinfo
+} /* corecrt.h:436:9 */
+
+type X_locale_tstruct = Localeinfo_struct /* corecrt.h:439:3 */
+type X_locale_t = uintptr /* corecrt.h:439:19 */
+
+type TagLC_ID = struct {
+ FwLanguage uint16
+ FwCountry uint16
+ FwCodePage uint16
+} /* corecrt.h:443:9 */
+
+type LC_ID = TagLC_ID /* corecrt.h:447:3 */
+type LPLC_ID = uintptr /* corecrt.h:447:9 */
+
+type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:482:3 */
+
+// Posix thread extensions.
+
+// Extension defined as by report VC 10+ defines error-numbers.
+
+// Defined as WSAETIMEDOUT.
+
+var _ int8 /* gen.c:2:13: */