16#define NULL ((void *)0)
20#ifdef _USE_32BIT_TIME_T
22#error You cannot use 32-bit time_t (_USE_32BIT_TIME_T) with _WIN64
23#undef _USE_32BIT_TIME_T
26#if _INTEGRAL_MAX_BITS < 64
27#define _USE_32BIT_TIME_T
31#pragma pack(push,_CRT_PACKING)
34#if (!defined _CRT_DECLARE_NONSTDC_NAMES || !_CRT_DECLARE_NONSTDC_NAMES) && (defined _CRT_DECLARE_NONSTDC_NAMES || __STDC__)
38#if defined(__GNUC__) && !defined(__clang__)
39 #define _CRT_DISABLE_GCC_WARNINGS \
40 _Pragma("GCC diagnostic push") \
41 _Pragma("GCC diagnostic ignored \"-Wbuiltin-declaration-mismatch\"") \
42 _Pragma("GCC diagnostic ignored \"-Wunknown-pragmas\"")
43 #define _CRT_RESTORE_GCC_WARNINGS _Pragma("GCC diagnostic pop")
45 #define _CRT_DISABLE_GCC_WARNINGS
46 #define _CRT_RESTORE_GCC_WARNINGS
52#ifndef _CRT_DEFER_MACRO
53#define _CRT_DEFER_MACRO(M,...) M(__VA_ARGS__)
57 #if !defined(_midl) && defined(_X86_) && _MSC_VER >= 1300
68 #ifdef _CRT_ALTERNATIVE_INLINES
71 #define _CRTIMP_ALT _CRTIMP
72 #define _CRT_ALTERNATIVE_IMPORTED
83 #define _CRTDATA(x) _CRTIMP x
88 #define _CRTIMP2 _CRTIMP
92 #define _CRTIMP_PURE _CRTIMP
95#ifndef _CRTIMP_ALTERNATIVE
96 #define _CRTIMP_ALTERNATIVE _CRTIMP
97 #define _CRT_ALTERNATIVE_IMPORTED
100#ifndef _CRTIMP_NOIA64
102 #define _CRTIMP_NOIA64
104 #define _CRTIMP_NOIA64 _CRTIMP
109 #define _MRTIMP2 _CRTIMP
113 #define _MCRTIMP _CRTIMP
125#if defined(__ia64__) || defined(__x86_64) || defined(__arm__) || defined(__arm64__)
126#define UNALIGNED __unaligned
137#define _CRT_UNUSED(x) (void)x
140#define __crt_typefix(ctype)
142#ifndef _STATIC_ASSERT
144 #define _STATIC_ASSERT(expr) static_assert((expr), #expr)
145 #elif defined(__clang__) || defined(__GNUC__)
146 #define _STATIC_ASSERT(expr) _Static_assert((expr), #expr)
148 #define _STATIC_ASSERT(expr) extern char (*__static_assert__(void)) [(expr) ? 1 : -1]
154#ifndef __STDC_WANT_SECURE_LIB__
155#define __STDC_WANT_SECURE_LIB__ 1
158#ifndef _CRT_INSECURE_DEPRECATE_CORE
159# ifdef _CRT_SECURE_NO_DEPRECATE_CORE
160# define _CRT_INSECURE_DEPRECATE_CORE(_Replacement)
162# define _CRT_INSECURE_DEPRECATE_CORE(_Replacement) \
163 _CRT_DEPRECATE_TEXT("This may be unsafe, Try " #_Replacement " instead! Enable _CRT_SECURE_NO_DEPRECATE to avoid thie warning.")
167#ifndef _CRT_NONSTDC_DEPRECATE
168# ifdef _CRT_NONSTDC_NO_DEPRECATE
169# define _CRT_NONSTDC_DEPRECATE(_Replacement)
171# define _CRT_NONSTDC_DEPRECATE(_Replacement) \
172 _CRT_DEPRECATE_TEXT("Deprecated POSIX name, Try " #_Replacement " instead!")
176#ifndef _CRT_INSECURE_DEPRECATE_GLOBALS
177#define _CRT_INSECURE_DEPRECATE_GLOBALS(_Replacement)
180#ifndef _CRT_MANAGED_HEAP_DEPRECATE
181#define _CRT_MANAGED_HEAP_DEPRECATE
185#define _CRT_OBSOLETE(_NewItem)
188#ifndef _CRT_JIT_INTRINSIC
189#define _CRT_JIT_INTRINSIC
198#define _TRUNCATE ((size_t)-1)
202#define __STDC_SECURE_LIB__ 200411L
203#define __GOT_SECURE_LIB__ __STDC_SECURE_LIB__
204#define _SECURECRT_FILL_BUFFER_PATTERN 0xFD
214#ifndef _WCTYPE_T_DEFINED
215#define _WCTYPE_T_DEFINED
220#ifndef _ERRCODE_DEFINED
221#define _ERRCODE_DEFINED
226#ifndef _TIME32_T_DEFINED
227#define _TIME32_T_DEFINED
231#ifndef _TIME64_T_DEFINED
232#define _TIME64_T_DEFINED
233#if _INTEGRAL_MAX_BITS >= 64
238#ifndef _TIME_T_DEFINED
239#define _TIME_T_DEFINED
240#ifdef _USE_32BIT_TIME_T
243 typedef __time64_t
time_t;
247struct threadmbcinfostruct;
250#ifndef _TAGLC_ID_DEFINED
251#define _TAGLC_ID_DEFINED
259#ifndef _THREADLOCALEINFO
260#define _THREADLOCALEINFO
294#if defined(_PREFAST_) && defined(_PFT_SHOULD_CHECK_RETURN)
295#define _Check_return_opt_ _Check_return_
297#define _Check_return_opt_
300#if defined(_PREFAST_) && defined(_PFT_SHOULD_CHECK_RETURN_WAT)
301#define _Check_return_wat_ _Check_return_
303#define _Check_return_wat_
309#ifndef PRAGMA_DIAGNOSTIC_IGNORED
311# define PRAGMA_DIAGNOSTIC_PUSH() _Pragma("clang diagnostic push")
312# define PRAGMA_DIAGNOSTIC_IGNORED(__x) \
313 _Pragma(_CRT_STRINGIZE(clang diagnostic ignored _CRT_DEFER_MACRO(_CRT_STRINGIZE,__x)))
314# define PRAGMA_DIAGNOSTIC_POP() _Pragma("clang diagnostic pop")
315# elif defined (__GNUC__)
316# define PRAGMA_DIAGNOSTIC_PUSH() _Pragma("GCC diagnostic push")
317# define PRAGMA_DIAGNOSTIC_IGNORED(__x) \
318 _Pragma("GCC diagnostic ignored \"-Wpragmas\"")
\
319 _Pragma(_CRT_STRINGIZE(GCC diagnostic ignored _CRT_DEFER_MACRO(_CRT_STRINGIZE,__x))) \
320 _Pragma("GCC diagnostic error \"-Wpragmas\"")
321# define PRAGMA_DIAGNOSTIC_POP() _Pragma("GCC diagnostic pop")
323# define PRAGMA_DIAGNOSTIC_PUSH()
324# define PRAGMA_DIAGNOSTIC_IGNORED(__x)
325# define PRAGMA_DIAGNOSTIC_POP()
#define __MINGW_EXTENSION
struct threadlocaleinfostruct threadlocinfo
struct threadmbcinfostruct * pthreadmbcinfo
struct tagLC_ID * LPLC_ID
struct threadlocaleinfostruct * pthreadlocinfo
const unsigned short * pctype
unsigned int lc_collate_cp
int * lconv_intl_refcount
struct threadlocaleinfostruct::@3860 lc_category[6]
unsigned long lc_handle[6]
struct __lc_time_data * lc_time_curr
const unsigned char * pclmap
const unsigned char * pcumap