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
33#pragma pack(push,_CRT_PACKING)
45#define __CRT_STRINGIZE(_Value) #_Value
46#define _CRT_STRINGIZE(_Value) __CRT_STRINGIZE(_Value)
49#ifndef _CRT_DEFER_MACRO
50#define _CRT_DEFER_MACRO(M,...) M(__VA_ARGS__)
54#define __CRT_WIDE(_String) L ## _String
55#define _CRT_WIDE(_String) __CRT_WIDE(_String)
59 #if !defined(_midl) && defined(_X86_) && _MSC_VER >= 1300
70 #define _CRTIMP __declspec(dllimport)
80 #ifdef _CRT_ALTERNATIVE_INLINES
83 #define _CRTIMP_ALT _CRTIMP
84 #define _CRT_ALTERNATIVE_IMPORTED
95 #define _CRTDATA(x) _CRTIMP x
100 #define _CRTIMP2 _CRTIMP
104 #define _CRTIMP_PURE _CRTIMP
107#ifndef _CRTIMP_ALTERNATIVE
108 #define _CRTIMP_ALTERNATIVE _CRTIMP
109 #define _CRT_ALTERNATIVE_IMPORTED
112#ifndef _CRTIMP_NOIA64
114 #define _CRTIMP_NOIA64
116 #define _CRTIMP_NOIA64 _CRTIMP
121 #define _MRTIMP2 _CRTIMP
125 #define _MCRTIMP _CRTIMP
137 #define _CONST_RETURN
141#if defined(__ia64__) || defined(__x86_64) || defined(__arm__) || defined(__arm64__)
142#define UNALIGNED __unaligned
149#if defined (__midl) || defined(__WIDL__)
151#elif defined(_MSC_VER)
152#define _CRT_ALIGN(x) __declspec(align(x))
154#define _CRT_ALIGN(x) __attribute__ ((aligned(x)))
167#define __CRTDECL __cdecl
171#define _CRT_UNUSED(x) (void)x
176#define _CONST_RETURN const
177#define _CRT_CONST_CORRECT_OVERLOADS
183#define __crt_typefix(ctype)
185#ifndef _STATIC_ASSERT
187 #define _STATIC_ASSERT(expr) static_assert((expr), #expr)
188 #elif defined(__clang__) || defined(__GNUC__)
189 #define _STATIC_ASSERT(expr) _Static_assert((expr), #expr)
191 #define _STATIC_ASSERT(expr) extern char (*__static_assert__(void)) [(expr) ? 1 : -1]
198#define _CRT_DEPRECATE_TEXT(_Text) __attribute__ ((deprecated))
199#elif defined(_MSC_VER)
200#define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
202#define _CRT_DEPRECATE_TEXT(_Text)
205#ifndef __STDC_WANT_SECURE_LIB__
206#define __STDC_WANT_SECURE_LIB__ 1
209#ifndef _CRT_INSECURE_DEPRECATE
210# ifdef _CRT_SECURE_NO_DEPRECATE
211# define _CRT_INSECURE_DEPRECATE(_Replacement)
213# define _CRT_INSECURE_DEPRECATE(_Replacement) \
214 _CRT_DEPRECATE_TEXT("This may be unsafe, Try " #_Replacement " instead!")
218#ifndef _CRT_INSECURE_DEPRECATE_CORE
219# ifdef _CRT_SECURE_NO_DEPRECATE_CORE
220# define _CRT_INSECURE_DEPRECATE_CORE(_Replacement)
222# define _CRT_INSECURE_DEPRECATE_CORE(_Replacement) \
223 _CRT_DEPRECATE_TEXT("This may be unsafe, Try " #_Replacement " instead! Enable _CRT_SECURE_NO_DEPRECATE to avoid thie warning.")
227#ifndef _CRT_NONSTDC_DEPRECATE
228# ifdef _CRT_NONSTDC_NO_DEPRECATE
229# define _CRT_NONSTDC_DEPRECATE(_Replacement)
231# define _CRT_NONSTDC_DEPRECATE(_Replacement) \
232 _CRT_DEPRECATE_TEXT("Deprecated POSIX name, Try " #_Replacement " instead!")
236#ifndef _CRT_INSECURE_DEPRECATE_MEMORY
237#define _CRT_INSECURE_DEPRECATE_MEMORY(_Replacement)
240#ifndef _CRT_INSECURE_DEPRECATE_GLOBALS
241#define _CRT_INSECURE_DEPRECATE_GLOBALS(_Replacement)
244#ifndef _CRT_MANAGED_HEAP_DEPRECATE
245#define _CRT_MANAGED_HEAP_DEPRECATE
249#define _CRT_OBSOLETE(_NewItem)
252#ifndef _CRT_JIT_INTRINSIC
253#define _CRT_JIT_INTRINSIC
262#define _TRUNCATE ((size_t)-1)
266#define __STDC_SECURE_LIB__ 200411L
267#define __GOT_SECURE_LIB__ __STDC_SECURE_LIB__
268#define _SECURECRT_FILL_BUFFER_PATTERN 0xFD
278#ifndef _SIZE_T_DEFINED
279#define _SIZE_T_DEFINED
282#if defined(__GNUC__) && defined(__STRICT_ANSI__)
292#ifndef _INTPTR_T_DEFINED
293#define _INTPTR_T_DEFINED
294#ifndef __intptr_t_defined
295#define __intptr_t_defined
298#if defined(__GNUC__) && defined(__STRICT_ANSI__)
309#ifndef _UINTPTR_T_DEFINED
310#define _UINTPTR_T_DEFINED
311#ifndef __uintptr_t_defined
312#define __uintptr_t_defined
315#if defined(__GNUC__) && defined(__STRICT_ANSI__)
326#ifndef _PTRDIFF_T_DEFINED
327#define _PTRDIFF_T_DEFINED
331#if defined(__GNUC__) && defined(__STRICT_ANSI__)
342#ifndef _WCHAR_T_DEFINED
343#define _WCHAR_T_DEFINED
344#if defined(_MSC_VER) || !defined(__cplusplus)
349#ifndef _WCTYPE_T_DEFINED
350#define _WCTYPE_T_DEFINED
356#ifndef __GNUC_VA_LIST
357#define __GNUC_VA_LIST
358 typedef __builtin_va_list __gnuc_va_list;
362#ifndef _VA_LIST_DEFINED
363#define _VA_LIST_DEFINED
365 typedef __gnuc_va_list
va_list;
366#elif defined(_MSC_VER)
371#ifndef _ERRCODE_DEFINED
372#define _ERRCODE_DEFINED
377#ifndef _TIME32_T_DEFINED
378#define _TIME32_T_DEFINED
382#ifndef _TIME64_T_DEFINED
383#define _TIME64_T_DEFINED
384#if _INTEGRAL_MAX_BITS >= 64
389#ifndef _TIME_T_DEFINED
390#define _TIME_T_DEFINED
391#ifdef _USE_32BIT_TIME_T
394 typedef __time64_t
time_t;
398struct threadmbcinfostruct;
401#ifndef _TAGLC_ID_DEFINED
402#define _TAGLC_ID_DEFINED
410#ifndef _THREADLOCALEINFO
411#define _THREADLOCALEINFO
441#ifndef DEFINED_localeinfo_struct
446#define DEFINED_localeinfo_struct 1
453#if defined(_PREFAST_) && defined(_PFT_SHOULD_CHECK_RETURN)
454#define _Check_return_opt_ _Check_return_
456#define _Check_return_opt_
459#if defined(_PREFAST_) && defined(_PFT_SHOULD_CHECK_RETURN_WAT)
460#define _Check_return_wat_ _Check_return_
462#define _Check_return_wat_
468#ifndef PRAGMA_DIAGNOSTIC_IGNORED
470# define PRAGMA_DIAGNOSTIC_PUSH() _Pragma("clang diagnostic push")
471# define PRAGMA_DIAGNOSTIC_IGNORED(__x) \
472 _Pragma(_CRT_STRINGIZE(clang diagnostic ignored _CRT_DEFER_MACRO(_CRT_STRINGIZE,__x)))
473# define PRAGMA_DIAGNOSTIC_POP() _Pragma("clang diagnostic pop")
474# elif defined (__GNUC__)
475# define PRAGMA_DIAGNOSTIC_PUSH() _Pragma("GCC diagnostic push")
476# define PRAGMA_DIAGNOSTIC_IGNORED(__x) \
477 _Pragma("GCC diagnostic ignored \"-Wpragmas\"")
\
478 _Pragma(_CRT_STRINGIZE(GCC diagnostic ignored _CRT_DEFER_MACRO(_CRT_STRINGIZE,__x))) \
479 _Pragma("GCC diagnostic error \"-Wpragmas\"")
480# define PRAGMA_DIAGNOSTIC_POP() _Pragma("GCC diagnostic pop")
482# define PRAGMA_DIAGNOSTIC_PUSH()
483# define PRAGMA_DIAGNOSTIC_IGNORED(__x)
484# define PRAGMA_DIAGNOSTIC_POP()
#define __MINGW_EXTENSION
struct threadlocaleinfostruct threadlocinfo
struct threadmbcinfostruct * pthreadmbcinfo
struct localeinfo_struct _locale_tstruct
struct localeinfo_struct * _locale_t
struct tagLC_ID * LPLC_ID
struct threadlocaleinfostruct * pthreadlocinfo
__kernel_ptrdiff_t ptrdiff_t
#define _Writable_bytes_(size)
const unsigned short * pctype
unsigned int lc_collate_cp
int * lconv_intl_refcount
unsigned long lc_handle[6]
struct __lc_time_data * lc_time_curr
struct threadlocaleinfostruct::@1888 lc_category[6]
const unsigned char * pclmap
const unsigned char * pcumap