Use x86_64-w64-mingw32-gcc to cross compile for windows, get this.
zhaozgdeMacBook-Pro:c-api zhaozg$ x86_64-w64-mingw32-gcc compat-5.3.c -I$HOME/work/lua-forge/luajit/src -E -dM
#define LUA_ERRERR 5
#define _CRT_INSECURE_DEPRECATE_MEMORY(_Replacement)
#define __DBL_MIN_EXP__ (-1021)
#define luaL_pushresult COMPAT53_CONCAT(COMPAT53_PREFIX, _pushresult_53)
#define __FLT32X_MAX_EXP__ 1024
#define _islower_l(_Char,_Locale) _ischartype_l(_Char,_LOWER,_Locale)
#define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n))
#define LUA_ERRFILE (LUA_ERRERR+1)
#define _MCRTIMP _CRTIMP
#define _CONST_RETURN
#define _IOSTRG 0x0040
#define __UINT_LEAST16_MAX__ 0xffff
#define _INTPTR_T_DEFINED
#define LUA_HOOKTAILRET 4
#define __ATOMIC_ACQUIRE 2
#define __FLT128_MAX_10_EXP__ 4932
#define LUA_LDIR "!\\lua\\"
#define __MINGW_GNU_PRINTF(__format,__args) __attribute__((__format__(gnu_printf,__format,__args)))
#define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F
#define __GCC_IEC_559_COMPLEX 2
#define _NLSCMP_DEFINED
#define __UINT_LEAST8_TYPE__ unsigned char
#define __SIZEOF_FLOAT80__ 16
#define _CRT_ERRNO_DEFINED
#define _I8_MIN (-127 - 1)
#define _WSTRING_DEFINED
#define _isupper_l(_Char,_Locale) _ischartype_l(_Char,_UPPER,_Locale)
#define __MINGW64_VERSION_MAJOR 5
#define __pwctype_func() (* __MINGW_IMP_SYMBOL(_pwctype))
#define _WIN32 1
#define LUA_PATHSEP ";"
#define __INTMAX_C(c) c ## LL
#define LUA_OPMOD 4
#define _fmode (* __MINGW_IMP_SYMBOL(_fmode))
#define LUA_IOLIBNAME "io"
#define __CHAR_BIT__ 8
#define DUMMYUNIONNAME6
#define EAFNOSUPPORT 102
#define _CTYPE_DEFINED
#define __iswcsymf(_c) (iswalpha(_c) || ((_c)=='_'))
#define popen _popen
#define SHRT_MAX __SHRT_MAX__
#define __MINGW64_VERSION_RC 0
#define COMPAT53_PREFIX compat53
#define EACCES 13
#define _CONTROL 0x20
#define __UINT8_MAX__ 0xff
#define _ispunct_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT,_Locale)
#define _WIN64 1
#define iswascii(_c) ((unsigned)(_c) < 0x80)
#define _FILE_DEFINED
#define EDESTADDRREQ 109
#define _isprint_l(_Char,_Locale) _ischartype_l(_Char,_BLANK|_PUNCT|_ALPHA|_DIGIT,_Locale)
#define __WINT_MAX__ 0xffff
#define _WCTYPE_T_DEFINED
#define __FLT32_MIN_EXP__ (-125)
#define __MINGW_IMPORT extern __attribute__ ((__dllimport__))
#define LUA_TLIGHTUSERDATA 2
#define _wctype (* __MINGW_IMP_SYMBOL(_wctype))
#define stderr (&__iob_func()[2])
#define luaL_Buffer luaL_Buffer_53
#define LUA_PATH_MARK "?"
#define USE___UUIDOF 0
#define _OUT_TO_MSGBOX 2
#define _mm_malloc(a,b) _aligned_malloc(a,b)
#define EILSEQ 42
#define va_start(v,l) __builtin_va_start(v,l)
#define ESPIPE 29
#define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
#define EMLINK 31
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __SIZE_MAX__ 0xffffffffffffffffULL
#define LUA_OPMUL 2
#define DUMMYUNIONNAME1
#define DUMMYUNIONNAME2
#define DUMMYUNIONNAME3
#define DUMMYUNIONNAME4
#define DUMMYUNIONNAME5
#define __WCHAR_MAX__ 0xffff
#define DUMMYUNIONNAME7
#define DUMMYUNIONNAME8
#define DUMMYUNIONNAME9
#define _MM_MALLOC_H_INCLUDED
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_2_0(__ret,__func,__type1,__arg1,__type2,__arg2,__dsttype,__dst)
#define LUA_ERRGCMM (LUA_ERRERR + 2)
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
#define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L)
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
#define _iswcntrl_l(_c,_p) (_iswctype_l(_c,_CONTROL,_p))
#define __MINGW_MSVC2005_DEPREC_STR "This POSIX function is deprecated beginning in Visual C++ 2005, use _CRT_NONSTDC_NO_DEPRECATE to disable deprecation"
#define __GCC_IEC_559 2
#define __FLT32X_DECIMAL_DIG__ 17
#define _IOFBF 0x0000
#define __nothrow
#define __FLT_EVAL_METHOD__ 0
#define COMPAT53_CONCAT_HELPER(a,b) a ##b
#define SHRT_MIN (-SHRT_MAX - 1)
#define __FLT64_DECIMAL_DIG__ 17
#define _WINT_T
#define LUA_NOREF (-2)
#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
#define _PUNCT 0x10
#define ENOFILE ENOENT
#define lua_dump(L,w,d,s) ((void)(s), lua_dump((L), (w), (d)))
#define __x86_64 1
#define iswspace(_c) (iswctype(_c,_SPACE))
#define _WSPAWN_DEFINED
#define lua_seti COMPAT53_CONCAT(COMPAT53_PREFIX, _seti)
#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 0
#define strcasecmp _stricmp
#define lua_pushglobaltable(L) lua_pushvalue((L), LUA_GLOBALSINDEX)
#define LUA_TBOOLEAN 1
#define luai_apicheck(L,o) { (void)L; }
#define LUA_PATH_DEFAULT ".\\?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;"
#define EOWNERDEAD 133
#define __iscsymf(_c) (isalpha(_c) || ((_c)=='_'))
#define LUA_EXECDIR "!"
#define __UINT_FAST64_MAX__ 0xffffffffffffffffULL
#define __SIG_ATOMIC_TYPE__ int
#define _DLL
#define __MINGW_ATTRIB_CONST __attribute__ ((__const__))
#define _STDSTREAM_DEFINED
#define __DBL_MIN_10_EXP__ (-307)
#define ENOTTY 25
#define __FINITE_MATH_ONLY__ 0
#define LUA_GCRESTART 1
#define __argv (* __MINGW_IMP_SYMBOL(__argv))
#define LUA_MULTRET (-1)
#define _DIV_T_DEFINED
#define _SECURECRT_FILL_BUFFER_PATTERN 0xFD
#define EBADF 9
#define iswalpha(_c) (iswctype(_c,_ALPHA))
#define __STDDEF_H__
#define ___mb_cur_max_func() (__mb_cur_max)
#define __MINGW_USE_UNDERSCORE_PREFIX 0
#define __MINGW_ATTRIB_USED __attribute__ ((__used__))
#define ERANGE 34
#define __GNUC_PATCHLEVEL__ 0
#define __FLT32_HAS_DENORM__ 1
#define ECANCELED 105
#define __MINGW_SEC_WARN_STR "This function or variable may be unsafe, use _CRT_SECURE_NO_WARNINGS to disable deprecation"
#define _ADDRESSOF(v) (&(v))
#define __UINT_FAST8_MAX__ 0xff
#define _INC_MINGW_SECAPI
#define _LIMITS_H___
#define _HEAPOK (-2)
#define __has_include(STR) __has_include__(STR)
#define lua_pcallk(L,na,nr,err,ctx,cont) ((void)(ctx), (void)(cont), lua_pcall((L), (na), (nr), (err)))
#define _stdcall __attribute__((__stdcall__))
#define __DEC64_MAX_EXP__ 385
#define _WCHAR_T_DEFINED
#define luaL_getmetatable(L,n) (lua_getfield(L, LUA_REGISTRYINDEX, (n)))
#define ENOMEM 12
#define __INT8_C(c) c
#define _CRT_OBSOLETE(_NewItem)
#define onexit_t _onexit_t
#define lua_Chunkwriter lua_Writer
#define __INT_LEAST8_WIDTH__ 8
#define __UINT_LEAST64_MAX__ 0xffffffffffffffffULL
#define __LONG32 long
#define __SHRT_MAX__ 0x7fff
#define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L
#define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL))
#define __FLT64X_MAX_10_EXP__ 4932
#define _crt_va_copy(d,s) __builtin_va_copy(d,s)
#define _pgmptr (* __MINGW_IMP_SYMBOL(_pgmptr))
#define _iswalnum_l(_c,_p) (_iswctype_l(_c,_ALPHA|_DIGIT,_p))
#define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
#define luaL_traceback COMPAT53_CONCAT(COMPAT53_PREFIX, L_traceback)
#define __va_copy(d,s) __builtin_va_copy(d,s)
#define __iscsym(_c) (isalnum(_c) || ((_c)=='_'))
#define SCHAR_MAX __SCHAR_MAX__
#define __UINT_LEAST8_MAX__ 0xff
#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
#define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128
#define lua_isnoneornil(L,n) (lua_type(L, (n)) <= 0)
#define __UINTMAX_TYPE__ long long unsigned int
#define EINPROGRESS 112
#define _CRT_MEMORY_DEFINED
#define _getc_nolock(_stream) _fgetc_nolock(_stream)
#define LUA_GCCOUNT 3
#define __DEC32_EPSILON__ 1E-6DF
#define strtod __strtod
#define _CRT_DIRECTORY_DEFINED
#define __FLT_EVAL_METHOD_TS_18661_3__ 0
#define ULONG_LONG_MAX (LONG_LONG_MAX * 2ULL + 1ULL)
#define lua_str2number(s,p) strtod((s), (p))
#define _CRT_ALIGN(x) __attribute__ ((__aligned__ (x)))
#define _INC_STRING
#define _INC_CTYPE
#define __MINGW_MS_SCANF(__format,__args) __attribute__((__format__(ms_scanf, __format,__args)))
#define __UINT32_MAX__ 0xffffffffU
#define __MINGW_ATTRIB_UNUSED __attribute__ ((__unused__))
#define __LDBL_MAX_EXP__ 16384
#define __FLT128_MIN_EXP__ (-16381)
#define LUA_VERSION_NUM 501
#define __WINT_MIN__ 0
#define EPROTOTYPE 136
#define COMPAT53_HAVE_STRERROR_R 0
#define COMPAT53_HAVE_STRERROR_S 1
#define __mingw_ovr static __attribute__ ((__unused__)) __inline__ __cdecl
#define lua_rawsetp COMPAT53_CONCAT(COMPAT53_PREFIX, _rawsetp)
#define _environ (* __MINGW_IMP_SYMBOL(_environ))
#define __FLT128_MIN_10_EXP__ (-4931)
#define lauxlib_h
#define SCHAR_MIN (-SCHAR_MAX - 1)
#define EXIT_FAILURE 1
#define LUA_COMPAT_GFIND
#define __INT_LEAST16_WIDTH__ 16
#define lua_copy COMPAT53_CONCAT(COMPAT53_PREFIX, _copy)
#define _FPOS_T_DEFINED
#define __SCHAR_MAX__ 0x7f
#define LUA_MINSTACK 20
#define _CRT_WSYSTEM_DEFINED
#define __FLT128_MANT_DIG__ 113
#define EALREADY 103
#define lua_setglobal(L,s) lua_setfield(L, LUA_GLOBALSINDEX, (s))
#define __WCHAR_MIN__ 0
#define _wpgmptr (* __MINGW_IMP_SYMBOL(_wpgmptr))
#define __INT64_C(c) c ## LL
#define __DBL_DIG__ 15
#define LUA_INTFRMLEN "l"
#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
#define _putwc_nolock(_c,_stm) _fputwc_nolock(_c,_stm)
#define _crt_va_arg(v,l) __builtin_va_arg(v,l)
#define __FLT64X_MANT_DIG__ 64
#define _TIME_T_DEFINED
#define luaL_len COMPAT53_CONCAT(COMPAT53_PREFIX, L_len)
#define _BLANK 0x40
#define _UINTPTR_T_DEFINED
#define __isascii(_Char) ((unsigned)(_Char) < 0x80)
#define __toascii(_Char) ((_Char) & 0x7f)
#define __SIZEOF_INT__ 4
#define __SIZEOF_POINTER__ 8
#define _INC_CRTDEFS_MACRO
#define _ANONYMOUS_STRUCT __MINGW_EXTENSION
#define _INC_STDIO
#define USHRT_MAX (SHRT_MAX * 2 + 1)
#define ETIMEDOUT 138
#define __USER_LABEL_PREFIX__
#define __C89_NAMELESSSTRUCTNAME1
#define __C89_NAMELESSSTRUCTNAME2
#define __C89_NAMELESSSTRUCTNAME3
#define __C89_NAMELESSSTRUCTNAME4
#define __C89_NAMELESSSTRUCTNAME5
#define _W64
#define _AGLOBAL
#define LUA_SIGNATURE "\033Lua"
#define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x
#define _iswspace_l(_c,_p) (_iswctype_l(_c,_SPACE,_p))
#define __STDC_HOSTED__ 1
#define _RSIZE_T_DEFINED
#define __WIN32 1
#define luaL_newlib(L,l) (luaL_newlibtable((L), (l)), luaL_register((L), NULL, (l)))
#define _MAX_ENV 32767
#define LUA_KFUNCTION(_name) static int (_name)(lua_State *L, int status, lua_KContext ctx)
#define __LDBL_HAS_INFINITY__ 1
#define _HEAPBADBEGIN (-3)
#define LUA_LOADLIBNAME "package"
#define _P_tmpdir "\\"
#define LUA_GCSETPAUSE 6
#define LUA_OPUNM 6
#define _WConst_return _CONST_RETURN
#define _WSTDIO_DEFINED
#define __WIN64 1
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0_EX(__ret_type,__ret_policy,__decl_spec,__name,__sec_name,__dst_attr,__dst_type,__dst)
#define __FLT32_DIG__ 6
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(__ret,__func,__dsttype,__dst)
#define EINTR 4
#define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE)
#define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F
#define PATH_MAX 260
#define __SHRT_WIDTH__ 16
#define lua_stringtonumber COMPAT53_CONCAT(COMPAT53_PREFIX, _stringtonumber)
#define _iscsym_l(_c,_p) (_isalnum_l(_c,_p) || ((_c)=='_'))
#define TMP_MAX 32767
#define ENOTCONN 126
#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
#define __STDC_UTF_16__ 1
#define __MINGW_ATTRIB_MALLOC __attribute__ ((__malloc__))
#define lua_load COMPAT53_CONCAT(COMPAT53_PREFIX, _load_53)
#define __DEC32_MAX__ 9.999999E96DF
#define _CVTBUFSIZE (309+40)
#define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x
#define __MINGW32__ 1
#define LUA_OK 0
#define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT))
#define EPERM 1
#define _STDDEF_H
#define _MAX_EXT 256
#define LUA_NUMBER_FMT "%.14g"
#define __FLT32X_HAS_INFINITY__ 1
#define __INT32_MAX__ 0x7fffffff
#define _isalpha_l(_Char,_Locale) _ischartype_l(_Char,_ALPHA,_Locale)
#define _CRT_UNUSED(x) (void)x
#define __INT_WIDTH__ 32
#define __SIZEOF_LONG__ 4
#define _IONBF 0x0004
#define __C89_NAMELESSSTRUCTNAME
#define LUA_QL(x) "'" x "'"
#define LUA_QS LUA_QL("%s")
#define _INC_STRING_S
#define EMFILE 24
#define _CRTIMP_NOIA64 _CRTIMP
#define __UINT16_C(c) c
#define __PTRDIFF_WIDTH__ 64
#define lua_len COMPAT53_CONCAT(COMPAT53_PREFIX, _len)
#define __MINGW_CRT_NAME_CONCAT2(sym) ::sym ##_s
#define lua_gettable(L,i) (lua_gettable((L), (i)), lua_type((L), -1))
#define __MINGW_ATTRIB_DEPRECATED_MSVC2005 __MINGW_ATTRIB_DEPRECATED_STR(__MINGW_MSVC2005_DEPREC_STR)
#define LUA_CPATH_DEFAULT ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
#define __DECIMAL_DIG__ 21
#define luaL_buffinitsize(L,B,s) (luaL_buffinit((L), (B)), luaL_prepbuffsize((B), (s)))
#define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64
#define __INTMAX_WIDTH__ 64
#define SEEK_SET 0
#define iswlower(_c) (iswctype(_c,_LOWER))
#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY 0
#define luaL_loadfilex COMPAT53_CONCAT(COMPAT53_PREFIX, L_loadfilex)
#define ENETDOWN 116
#define getwchar() fgetwc(stdin)
#define __has_include_next(STR) __has_include_next__(STR)
#define LUA_MAXCAPTURES 32
#define lua_newtable(L) lua_createtable(L, 0, 0)
#define _CRT_PERROR_DEFINED
#define _osplatform (* __MINGW_IMP_SYMBOL(_osplatform))
#define __FLT64X_MIN_10_EXP__ (-4931)
#define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n)))
#define __LDBL_HAS_QUIET_NAN__ 1
#define _ALLOCA_S_HEAP_MARKER 0xDDDD
#define LUA_INIT "LUA_INIT"
#define _OUT_TO_DEFAULT 0
#define _INC__MINGW_H
#define LUA_MATHLIBNAME "math"
#define __FLT64_MANT_DIG__ 53
#define LUA_GCCOLLECT 2
#define LUA_OPADD 0
#define __w64
#define LUA_MASKCALL (1 << LUA_HOOKCALL)
#define L_tmpnam (sizeof(_P_tmpdir) + 12)
#define isascii __isascii
#define toascii __toascii
#define __GNUC__ 7
#define getwc(_stm) fgetwc(_stm)
#define sys_errlist _sys_errlist
#define _cdecl __attribute__((__cdecl__))
#define __MMX__ 1
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_3_EX(__ret_type,__ret_policy,__decl_spec,__name,__sec_name,__dst_attr,__dst_type,__dst,__arg1_type,__arg1,__arg2_type,__arg2,__arg3_type,__arg3)
#define _HEAPBADPTR (-6)
#define _iswcsym_l(_c,_p) (_iswalnum_l(_c,_p) || ((_c)=='_'))
#define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER)
#define __FLT_HAS_DENORM__ 1
#define __SIZEOF_LONG_DOUBLE__ 16
#define lua_setuservalue(L,i) (luaL_checktype((L), -1, LUA_TTABLE), lua_setfenv((L), (i)))
#define LUA_TNUMBER 3
#define SSIZE_MAX _I64_MAX
#define LUA_NUMBER_DOUBLE
#define lua_pushlstring(L,s,len) ((((len) == 0) ? lua_pushlstring((L), "", 0) : lua_pushlstring((L), (s), (len))), lua_tostring((L), -1))
#define _LOWER 0x2
#define __BIGGEST_ALIGNMENT__ 16
#define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated)
#define LONG_MAX __LONG_MAX__
#define __MINGW32_MINOR_VERSION 11
#define STDERR_FILENO 2
#define _IOB_ENTRIES 20
#define __FLT64_MAX_10_EXP__ 308
#define LUA_IGMARK "-"
#define _threadid (__threadid())
#define __iswcsym(_c) (iswalnum(_c) || ((_c)=='_'))
#define DUMMYUNIONNAME
#define lua_arith COMPAT53_CONCAT(COMPAT53_PREFIX, _arith)
#define LUA_ENVIRONINDEX (-10001)
#define _FPOSOFF(fp) ((long)(fp))
#define COMPAT53_FOPEN_NO_LOCK 0
#define __USE_CRTIMP 1
#define EXIT_SUCCESS 0
#define _P_NOWAIT 1
#define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L)
#define _thiscall __attribute__((__thiscall__))
#define _CRT_WCTYPEDATA_DEFINED
#define __INT_FAST32_MAX__ 0x7fffffff
#define __WINNT 1
#define DUMMYSTRUCTNAME1
#define DUMMYSTRUCTNAME2
#define DUMMYSTRUCTNAME3
#define DUMMYSTRUCTNAME4
#define DUMMYSTRUCTNAME5
#define __DBL_HAS_INFINITY__ 1
#define _SPACE 0x8
#define _CRT_INSECURE_DEPRECATE_GLOBALS(_Replacement)
#define _CRTNOALIAS
#define _I16_MAX 32767
#define __WINNT__ 1
#define stdin (&__iob_func()[0])
#define WINVER 0x0501
#define _isalnum_l(_Char,_Locale) _ischartype_l(_Char,_ALPHA|_DIGIT,_Locale)
#define LUA_TUSERDATA 7
#define luaL_newmetatable(L,tn) (luaL_newmetatable((L), (tn)) ? (lua_pushstring((L), (tn)), lua_setfield((L), -2, "__name"), 1) : 0)
#define __MINGW_HAVE_WIDE_C99_SCANF 1
#define __DEC32_MIN_EXP__ (-94)
#define _putc_nolock(_c,_stream) _fputc_nolock(_c,_stream)
#define lua_h
#define __pctype_func() (* __MINGW_IMP_SYMBOL(_pctype))
#define __INTPTR_WIDTH__ 64
#define EPIPE 32
#define __MINGW_LSYMBOL(sym) _ ##sym
#define __C89_NAMELESSUNIONNAME1
#define __C89_NAMELESSUNIONNAME2
#define __C89_NAMELESSUNIONNAME3
#define __C89_NAMELESSUNIONNAME4
#define __C89_NAMELESSUNIONNAME5
#define __C89_NAMELESSUNIONNAME6
#define __C89_NAMELESSUNIONNAME7
#define __C89_NAMELESSUNIONNAME8
#define _INC_STDIO_S
#define LONG_MIN (-LONG_MAX - 1L)
#define lua_Chunkreader lua_Reader
#define luaconf_h
#define MINGW_HAS_DDK_H 1
#define _ALPHA (0x0100|_UPPER|_LOWER)
#define __CRT_INLINE extern inline __attribute__((__gnu_inline__))
#define __FLT32X_HAS_DENORM__ 1
#define __INT_FAST16_TYPE__ short int
#define iswdigit(_c) (iswctype(_c,_DIGIT))
#define _SIZE_T_DEFINED
#define LUA_DIRSEP "\\"
#define putwc(_c,_stm) fputwc(_c,_stm)
#define _NFILE _NSTREAM_
#define ECHILD 10
#define _iswlower_l(_c,_p) (_iswctype_l(_c,_LOWER,_p))
#define _fastcall __attribute__((__fastcall__))
#define __LDBL_HAS_DENORM__ 1
#define __MINGW_HAS_DXSDK 1
#define LUA_OPEQ 0
#define __FLT128_HAS_INFINITY__ 1
#define __MINGW_ATTRIB_NO_OPTIMIZE __attribute__((__optimize__ ("0")))
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
#define __INT_LEAST32_MAX__ 0x7fffffff
#define __DEC32_MIN__ 1E-95DF
#define _I16_MIN (-32767 - 1)
#define __DBL_MAX_EXP__ 1024
#define __WCHAR_WIDTH__ 16
#define _iswupper_l(_c,_p) (_iswctype_l(_c,_UPPER,_p))
#define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32
#define __C89_NAMELESS __MINGW_EXTENSION
#define _M_X64 100
#define __DEC128_EPSILON__ 1E-33DL
#define _iob __iob_func()
#define __SSE2_MATH__ 1
#define __ATOMIC_HLE_RELEASE 131072
#define __WIN32__ 1
#define _VA_LIST_
#define __PTRDIFF_MAX__ 0x7fffffffffffffffLL
#define lua_pushliteral(L,s) lua_pushlstring(L, "" s, (sizeof(s)/sizeof(char))-1)
#define __MSABI_LONG(x) x ## l
#define luaL_setfuncs COMPAT53_CONCAT(COMPAT53_PREFIX, L_setfuncs)
#define _MAX_WAIT_MALLOC_CRT 60000
#define __amd64 1
#define ENOTSUP 129
#define luaL_checkstack COMPAT53_CONCAT(COMPAT53_PREFIX, L_checkstack_53)
#define _wenviron (* __MINGW_IMP_SYMBOL(_wenviron))
#define _iswpunct_l(_c,_p) (_iswctype_l(_c,_PUNCT,_p))
#define _SYS_OPEN 20
#define LUA_OPLE 2
#define _CRTIMP_ALTERNATIVE _CRTIMP
#define _UI8_MAX 0xffu
#define _iswprint_l(_c,_p) (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p))
#define luaL_putchar(B,c) luaL_addchar(B,c)
#define __ATOMIC_HLE_ACQUIRE 65536
#define __FLT32_HAS_QUIET_NAN__ 1
#define luaL_checkversion COMPAT53_CONCAT(COMPAT53_PREFIX, L_checkversion)
#define __LONG_LONG_MAX__ 0x7fffffffffffffffLL
#define __SIZEOF_SIZE_T__ 8
#define LUA_TTABLE 5
#define _CRT_glob _dowildcard
#define _UI64_MAX 0xffffffffffffffffull
#define LUAI_GCMUL 200
#define ENOTEMPTY 41
#define __FLT64X_MIN_EXP__ (-16381)
#define SIZE_MAX _UI64_MAX
#define __SIZEOF_WINT_T__ 2
#define lua_pop(L,n) lua_settop(L, -(n)-1)
#define lua_rawget(L,i) (lua_rawget((L), (i)), lua_type((L), -1))
#define __LONG_LONG_WIDTH__ 64
#define _INT128_DEFINED
#define __CRT_WIDE(_String) L ## _String
#define __FLT32_MAX_EXP__ 128
#define __MINGW64_STRINGIFY(x) __STRINGIFY(x)
#define iscsymf __iscsymf
#define _TIME64_T_DEFINED
#define _iscsymf_l(_c,_p) (_isalpha_l(_c,_p) || ((_c)=='_'))
#define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL)
#define __GXX_ABI_VERSION 1011
#define lua_getuservalue(L,i) (lua_getfenv((L), (i)), lua_type((L), -1))
#define COMPAT53_LEVELS1 12
#define COMPAT53_LEVELS2 10
#define MINGW_DDK_H
#define __FLT_MIN_EXP__ (-125)
#define _UPPER 0x1
#define LUA_REFNIL (-1)
#define _WSTDLIBP_DEFINED
#define COMPAT53_CONCAT(a,b) COMPAT53_CONCAT_HELPER(a, b)
#define luaL_addstring(B,s) luaL_addlstring((B), (s), strlen((s)))
#define alloca(x) __builtin_alloca((x))
#define LUA_TTHREAD 8
#define _SSIZE_T_DEFINED
#define LUA_MASKRET (1 << LUA_HOOKRET)
#define __MINGW_ATTRIB_DEPRECATED_SEC_WARN __MINGW_ATTRIB_DEPRECATED_STR(__MINGW_SEC_WARN_STR)
#define __FLT64X_HAS_QUIET_NAN__ 1
#define __INT_FAST64_TYPE__ long long int
#define _putwchar_nolock(_c) _putwc_nolock((_c),stdout)
#define _ANSI_STDDEF_H
#define lua_istable(L,n) (lua_type(L, (n)) == LUA_TTABLE)
#define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64
#define _osver (* __MINGW_IMP_SYMBOL(_osver))
#define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L)
#define EADDRINUSE 100
#define _VA_LIST
#define LUAI_GCPAUSE 200
#define LUAI_MAXCSTACK 8000
#define _CRT_DOUBLE_DEC
#define LUA_COLIBNAME "coroutine"
#define lua_getgccount(L) lua_gc(L, LUA_GCCOUNT, 0)
#define ENETRESET 117
#define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x
#define _ALLOCA_S_MARKER_SIZE 16
#define _ALLOCA_S_STACK_MARKER 0xCCCC
#define EISDIR 21
#define __DECIMAL_BID_FORMAT__ 1
#define __FLT64_MIN_EXP__ (-1021)
#define CHAR_MAX SCHAR_MAX
#define putwchar(_c) fputwc((_c),stdout)
#define __GXX_TYPEINFO_EQUALITY_INLINE 0
#define __FLT64_MIN_10_EXP__ (-307)
#define lua_getglobal(L,s) lua_getfield(L, LUA_GLOBALSINDEX, (s))
#define luaL_tolstring COMPAT53_CONCAT(COMPAT53_PREFIX, L_tolstring)
#define ULONG_MAX (LONG_MAX * 2UL + 1UL)
#define _P_NOWAITO 3
#define _IOREAD 0x0001
#define LUAI_MAXNUMBER2STR 32
#define _ALLOCA_S_THRESHOLD 1024
#define __FLT64X_DECIMAL_DIG__ 21
#define __DEC128_MIN__ 1E-6143DL
#define __MINGW_BROKEN_INTERFACE(x) __MINGW_PRAGMA_PARAM(message ("Interface " _CRT_STRINGIZE(x) " has unverified layout."))
#define __REGISTER_PREFIX__
#define __UINT16_MAX__ 0xffff
#define _HEAPEND (-5)
#define __DBL_HAS_DENORM__ 1
#define _IOMYBUF 0x0008
#define __cdecl __attribute__((__cdecl__))
#define _LUALIB_H
#define CHAR_BIT __CHAR_BIT__
#define lua_isthread(L,n) (lua_type(L, (n)) == LUA_TTHREAD)
#define luaL_optstring(L,n,d) (luaL_optlstring(L, (n), (d), NULL))
#define LUA_OPLT 1
#define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32
#define __UINT8_TYPE__ unsigned char
#define _CRT_ALTERNATIVE_IMPORTED
#define __NO_INLINE__ 1
#define __MINGW_SCANF_FORMAT ms_scanf
#define LONG_LONG_MAX __LONG_LONG_MAX__
#define _MRTIMP2 _CRTIMP
#define CHAR_MIN SCHAR_MIN
#define __FLT_MANT_DIG__ 24
#define luaL_addlstring COMPAT53_CONCAT(COMPAT53_PREFIX, _addlstring_53)
#define __LDBL_DECIMAL_DIG__ 21
#define __VERSION__ "7.3.0"
#define __max(a,b) (((a) > (b)) ? (a) : (b))
#define _INC_SWPRINTF_INL
#define luaL_dostring(L,s) (luaL_loadstring(L, s) || lua_pcall(L, 0, LUA_MULTRET, 0))
#define _UI32_MAX 0xffffffffu
#define __UINT64_C(c) c ## ULL
#define LUA_INTEGER ptrdiff_t
#define _PTRDIFF_T_
#define _putchar_nolock(_c) _putc_nolock((_c),stdout)
#define __int16 short
#define _INC_CRTDEFS
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(__ret,__func,__dsttype,__dst,__type1,__arg1)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(__ret,__func,__dsttype,__dst,__type1,__arg1,__type2,__arg2)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(__ret,__func,__dsttype,__dst,__type1,__arg1,__type2,__arg2,__type3,__arg3)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_4(__ret,__func,__dsttype,__dst,__type1,__arg1,__type2,__arg2,__type3,__arg3,__type4,__arg4)
#define lua_assert(x) ((void)0)
#define ENOTSOCK 128
#define _INC_LIMITS
#define __GCC_ATOMIC_INT_LOCK_FREE 2
#define EHOSTUNREACH 110
#define _MAX_PATH 260
#define WEOF (wint_t)(0xFFFF)
#define __int32 int
#define __wargv (* __MINGW_IMP_SYMBOL(__wargv))
#define __FLT128_MAX_EXP__ 16384
#define _CRT_ALLOCATION_DEFINED
#define __MINGW_MS_PRINTF(__format,__args) __attribute__((__format__(ms_printf, __format,__args)))
#define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL)
#define _HEAPEMPTY (-1)
#define __FLT32_MANT_DIG__ 24
#define _INC_STDLIB_S
#define __MINGW_HAVE_ANSI_C99_SCANF 1
#define __int64 long long
#define _CRTIMP __attribute__ ((__dllimport__))
#define lua_numbertointeger(n,p) ((*(p) = (lua_Integer)(n)), 1)
#define _WIN32_WINNT 0x502
#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
#define _STDIO_DEFINED
#define SEEK_CUR 1
#define LUA_ERRMEM 4
#define LUA_OPDIV 3
#define _INC_ERRNO
#define LUA_GCCOUNTB 4
#define lua_resume(L,from,nargs) ((void)(from), lua_resume((L), (nargs)))
#define __MSVCRT_VERSION__ 0x0700
#define ELOOP 114
#define _STATIC_ASSERT(expr) extern void __static_assert_t(int [(expr)?1:-1])
#define _PGLOBAL
#define __FLT128_HAS_DENORM__ 1
#define _ONEXIT_T_DEFINED
#define _CRT_WPERROR_DEFINED
#define __MINGW_INTRIN_INLINE extern __inline__ __attribute__((__always_inline__,__gnu_inline__))
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(__ret_type,__ret_policy,__decl_spec,__name,__dst_attr,__dst_type,__dst) __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0_EX(__ret_type, __ret_policy, __decl_spec, __func_name, __func_name ##_s, __dst_attr, __dst_type, __dst)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(__ret_type,__ret_policy,__decl_spec,__name,__dst_attr,__dst_type,__dst,__arg1_type,__arg1) __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_EX(__ret_type, __ret_policy, __decl_spec, __func_name, __func_name ##_s, __dst_attr, __dst_type, __dst, __arg1_type, __arg1, __arg2_type, __arg2)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2(__ret_type,__ret_policy,__decl_spec,__name,__dst_attr,__dst_type,__dst,__arg1_type,__arg1,__arg2_type,__arg2) __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_EX(__ret_type, __ret_policy, __decl_spec, __func_name, __func_name ##_s, __dst_attr, __dst_type, __dst, __arg1_type, __arg1, __arg2_type, __arg2)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_4(__ret_type,__ret_policy,__decl_spec,__name,__dst_attr,__dst_type,__dst,__arg1_type,__arg1,__arg2_type,__arg2,__arg3_type,__arg3,__arg4_type,__arg4) __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_4_EX(__ret_type, __ret_policy, __decl_spec, __func_name, __func_name ##_s, __dst_attr, __dst_type, __dst, __arg1_type, __arg1, __arg2_type, __arg2, __arg3_type, __arg3, __arg4_type, __arg4)
#define __FLT128_DIG__ 33
#define __SCHAR_WIDTH__ 8
#define __INT32_C(c) c
#define __DEC64_EPSILON__ 1E-15DD
#define __ORDER_PDP_ENDIAN__ 3412
#define __DEC128_MIN_EXP__ (-6142)
#define _mm_free(a) _aligned_free(a)
#define LUA_COMPAT_MOD
#define _CRT_MANAGED_HEAP_DEPRECATE
#define __FLT32_MAX_10_EXP__ 38
#define _SECURECRT_ERRCODE_VALUES_DEFINED
#define _OFF_T_DEFINED
#define _chvalidchk_l(_Char,_Flag,_Locale) (!_Locale ? __chvalidchk(_Char,_Flag) : ((_locale_t)_Locale)->locinfo->pctype[_Char] & (_Flag))
#define LUA_TABLIBNAME "table"
#define __INT_FAST32_TYPE__ int
#define __MINGW_ATTRIB_NONNULL(arg) __attribute__ ((__nonnull__ (arg)))
#define __MINGW_IMP_LSYMBOL(sym) __imp_ ##sym
#define EINVAL 22
#define _ANSI_STDARG_H_
#define __UINT_LEAST16_TYPE__ short unsigned int
#define LUA_DBLIBNAME "debug"
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(__ret,__func,__vfunc,__dsttype,__dst,__type1,__arg1,__type2,__arg2)
#define RAND_MAX 0x7fff
#define __FLT64X_HAS_INFINITY__ 1
#define LUA_INTFRM_T long
#define LUA_PATH_CONFIG LUA_DIRSEP "\n" LUA_PATHSEP "\n" LUA_PATH_MARK "\n" LUA_EXECDIR "\n" LUA_IGMARK
#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes"
#define LUA_ERRRUN 2
#define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
#define __INT16_MAX__ 0x7fff
#define __UNUSED_PARAM(x) x __attribute__ ((__unused__))
#define __SIZE_TYPE__ long long unsigned int
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(__ret_type,__ret_policy,__decl_spec,__name,__sec_name,__dst_attr,__dst_type,__dst,__arg1_type,__arg1)
#define __UINT64_MAX__ 0xffffffffffffffffULL
#define luaL_testudata COMPAT53_CONCAT(COMPAT53_PREFIX, L_testudata)
#define LUA_HOOKLINE 2
#define COMPAT53_C_
#define __FLT64X_DIG__ 18
#define __INT8_TYPE__ signed char
#define _IORW 0x0080
#define COMPAT53_API __attribute__((__unused__)) static
#define _OLD_P_OVERLAY 2
#define __GCC_ASM_FLAG_OUTPUTS__ 1
#define _DIGIT 0x4
#define _CRTIMP2 _CRTIMP
#define _toupper(_Char) ((_Char)-'a'+'A')
#define _iswalpha_l(_c,_p) (_iswctype_l(_c,_ALPHA,_p))
#define luaL_getn(L,i) ((int)lua_objlen(L, i))
#define luaL_newlibtable(L,l) (lua_createtable((L), 0, sizeof((l))/sizeof(*(l))-1))
#define LUA_TSTRING 4
#define _winver (* __MINGW_IMP_SYMBOL(_winver))
#define _WSTDLIB_DEFINED
#define __ptr32
#define pclose _pclose
#define __FLT_RADIX__ 2
#define LUA_HOOKCOUNT 3
#define __INT_LEAST16_TYPE__ short int
#define wpopen _wpopen
#define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L
#define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT))
#define lua_open() luaL_newstate()
#define LUA_GCSETSTEPMUL 7
#define __UINTMAX_C(c) c ## ULL
#define COMPAT53_H_
#define _alloca(x) __builtin_alloca((x))
#define __SSE_MATH__ 1
#define __ANONYMOUS_DEFINED
#define LUA_TNIL 0
#define LUA_JITLIBNAME "jit"
#define __k8 1
#define _HEAP_MAXREQ 0xFFFFFFFFFFFFFFE0
#define __ptr64
#define __SEH__ 1
#define __SIG_ATOMIC_MAX__ 0x7fffffff
#define LUAL_BUFFERSIZE (BUFSIZ > 16384 ? 8192 : BUFSIZ)
#define _CRT_ABS_DEFINED
#define iswxdigit(_c) (iswctype(_c,_HEX))
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define EOVERFLOW 132
#define LUAI_MAXSTACK 65500
#define UCHAR_MAX (SCHAR_MAX * 2 + 1)
#define __SIZEOF_PTRDIFF_T__ 8
#define __PCTYPE_FUNC __pctype_func()
#define LUA_RELEASE "Lua 5.1.4"
#define UNALIGNED __unaligned
#define LUA_COPYRIGHT "Copyright (C) 1994-2008 Lua.org, PUC-Rio"
#define _HEAPBADNODE (-4)
#define strncasecmp _strnicmp
#define _OFF_T_
#define LUA_HOOKRET 1
#define luaL_dofile(L,fn) (luaL_loadfile(L, fn) || lua_pcall(L, 0, LUA_MULTRET, 0))
#define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d)))
#define __FLT32X_MANT_DIG__ 53
#define __restrict_arr __restrict
#define __CRT__NO_INLINE 1
#define _inline __inline
#define _UNION_NAME(x)
#define EBUSY 16
#define _GCC_LIMITS_H_
#define LUA_CPATH "LUA_CPATH"
#define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n)))
#define __x86_64__ 1
#define _MAX_DRIVE 3
#define __FLT32X_MIN_EXP__ (-1021)
#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
#define EPROTO 134
#define _isgraph_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT|_ALPHA|_DIGIT,_Locale)
#define ENODEV 19
#define iswpunct(_c) (iswctype(_c,_PUNCT))
#define LUA_OSLIBNAME "os"
#define __MSVCRT__ 1
#define __INT_FAST16_MAX__ 0x7fff
#define __CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY_0_3_(__ret,__func,__type1,__attrib1,__arg1,__type2,__attrib2,__arg2,__type3,__attrib3,__arg3) _CRTIMP __ret __cdecl __func(__type1 * __attrib1 __arg1, __type2 __attrib2 __arg2, __type3 __attrib3 __arg3) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
#define INT_MAX __INT_MAX__
#define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_4_EX(__ret_type,__ret_policy,__decl_spec,__name,__sec_name,__dst_attr,__dst_type,__dst,__arg1_type,__arg1,__arg2_type,__arg2,__arg3_type,__arg3,__arg4_type,__arg4)
#define luaL_typename(L,i) lua_typename(L, lua_type(L,(i)))
#define luaL_addsize(B,s) ((B)->nelems += (s))
#define _TAGLC_ID_DEFINED
#define _isdigit_l(_Char,_Locale) _ischartype_l(_Char,_DIGIT,_Locale)
#define __FLT64_DIG__ 15
#define EROFS 30
#define __UINT_FAST32_MAX__ 0xffffffffU
#define __UINT_LEAST64_TYPE__ long long unsigned int
#define iscsym __iscsym
#define __FLT_HAS_QUIET_NAN__ 1
#define __FLT_MAX_10_EXP__ 38
#define luaL_prepbuffsize COMPAT53_CONCAT(COMPAT53_PREFIX, _prepbufsize_53)
#define __LONG_MAX__ 0x7fffffffL
#define __argc (* __MINGW_IMP_SYMBOL(__argc))
#define LUA_PATH "LUA_PATH"
#define __FLT64X_HAS_DENORM__ 1
#define COMPAT53_INCLUDE_SOURCE
#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
#define va_copy(d,s) __builtin_va_copy(d,s)
#define __FLT_HAS_INFINITY__ 1
#define _pwctype (* __MINGW_IMP_SYMBOL(_pwctype))
#define __UINT_FAST16_TYPE__ short unsigned int
#define __DEC64_MAX__ 9.999999999999999E384DD
#define _CRT_TERMINATE_DEFINED
#define LUA_HOOKCALL 0
#define __MINGW_EXTENSION __extension__
#define __INT_FAST32_WIDTH__ 32
#define _NSTREAM_ 512
#define NULL ((void *)0)
#define __CHAR16_TYPE__ short unsigned int
#define __PRAGMA_REDEFINE_EXTNAME 1
#define E2BIG 7
#define _VA_LIST_DEFINED
#define __SIZE_WIDTH__ 64
#define __MINGW_HAVE_WIDE_C99_PRINTF 1
#define __SEG_FS 1
#define __INT_LEAST16_MAX__ 0x7fff
#define INT_MIN (-INT_MAX - 1)
#define _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY 0
#define __DEC64_MANT_DIG__ 16
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL)
#define __INT64_MAX__ 0x7fffffffffffffffLL
#define EDEADLK 36
#define __UINT_LEAST32_MAX__ 0xffffffffU
#define __SEG_GS 1
#define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32
#define __GCC_ATOMIC_LONG_LOCK_FREE 2
#define __SIG_ATOMIC_WIDTH__ 32
#define _fgetc_nolock(_stream) (--(_stream)->_cnt >= 0 ? 0xff & *(_stream)->_ptr++ : _filbuf(_stream))
#define __INT_LEAST64_TYPE__ long long int
#define _countof(_Array) (sizeof(_Array) / sizeof(_Array[0]))
#define __INT16_TYPE__ short int
#define __INT_LEAST8_TYPE__ signed char
#define lua_strlen(L,i) lua_objlen(L, (i))
#define _I32_MAX 2147483647
#define _CRT_SWAB_DEFINED
#define _doserrno (*__doserrno())
#define __STDC_VERSION__ 201112L
#define ENOTDIR 20
#define __DEC32_MAX_EXP__ 97
#define EDOM 33
#define lua_islightuserdata(L,n) (lua_type(L, (n)) == LUA_TLIGHTUSERDATA)
#define __INT_FAST8_MAX__ 0x7f
#define LUA_OPSUB 1
#define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128
#define __INTPTR_MAX__ 0x7fffffffffffffffLL
#define ECONNRESET 108
#define _getwchar_nolock() _getwc_nolock(stdin)
#define _INC_VADEFS
#define _P_WAIT 0
#define LUA_MASKLINE (1 << LUA_HOOKLINE)
#define luaL_buffinit COMPAT53_CONCAT(COMPAT53_PREFIX, _buffinit_53)
#define ENXIO 6
#define __GXX_MERGED_TYPEINFO_NAMES 0
#define LUA_YIELD 1
#define LUA_GCSTEP 5
#define __FLT64_HAS_QUIET_NAN__ 1
#define sys_nerr _sys_nerr
#define _IOLBF 0x0040
#define __stdcall
#define __FLT32_MIN_10_EXP__ (-37)
#define __SSE2__ 1
#define _crt_va_end(v) __builtin_va_end(v)
#define LUA_BITLIBNAME "bit"
#define __FLT32X_DIG__ 15
#define _iscntrl_l(_Char,_Locale) _ischartype_l(_Char,_CONTROL,_Locale)
#define _WCTYPE_DEFINED
#define luaL_addchar(B,c) ((void)((B)->nelems < (B)->capacity || luaL_prepbuffsize((B), 1)), ((B)->ptr[(B)->nelems++] = (c)))
#define COMPAT53_LUA_FILE_BUFFER_SIZE 4096
#define _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES 0
#define lua_rotate COMPAT53_CONCAT(COMPAT53_PREFIX, _rotate)
#define __LDBL_MANT_DIG__ 64
#define __MINGW_GNU_SCANF(__format,__args) __attribute__((__format__(gnu_scanf, __format,__args)))
#define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT))
#define ENAMETOOLONG 38
#define _getwc_nolock(_c) _fgetwc_nolock(_c)
#define __MINGW64_VERSION_STR __MINGW64_STRINGIFY(__MINGW64_VERSION_MAJOR) "." __MINGW64_STRINGIFY(__MINGW64_VERSION_MINOR)
#define __DBL_HAS_QUIET_NAN__ 1
#define __FLT64_HAS_INFINITY__ 1
#define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x
#define _CALL_REPORTFAULT 0x2
#define LUA_NUMBER_SCAN "%lf"
#define lua_compare COMPAT53_CONCAT(COMPAT53_PREFIX, _compare)
#define LUA_VERSION "Lua 5.1"
#define __GNUC_VA_LIST
#define _GCC_MAX_ALIGN_T
#define __chvalidchk(a,b) (__PCTYPE_FUNC[(a)] & (b))
#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
#define lua_getref(L,ref) lua_rawgeti(L, LUA_REGISTRYINDEX, (ref))
#define _MALLOC_H_
#define FILENAME_MAX 260
#define _CRT_ATOF_DEFINED
#define _WRITE_ABORT_MSG 0x1
#define __mb_cur_max (* __MINGW_IMP_SYMBOL(__mb_cur_max))
#define __k8__ 1
#define __INTPTR_TYPE__ long long int
#define __UINT16_TYPE__ short unsigned int
#define __WCHAR_TYPE__ short unsigned int
#define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
#define __SIZEOF_FLOAT__ 4
#define _INC_STDDEF
#define _UI16_MAX 0xffffu
#define _ARGMAX 100
#define __pic__ 1
#define __MINGW_USYMBOL(sym) sym
#define __UINTPTR_MAX__ 0xffffffffffffffffULL
#define __INT_FAST64_WIDTH__ 64
#define LUA_GCSTOP 0
#define __DEC64_MIN_EXP__ (-382)
#define luaL_prepbuffer(B) luaL_prepbuffsize((B), LUAL_BUFFERSIZE)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_SPLITPATH(__ret,__func,__dsttype,__src)
#define _iswcsymf_l(_c,_p) (_iswalpha_l(_c,_p) || ((_c)=='_'))
#define __FLT32_DECIMAL_DIG__ 9
#define __uintptr_t_defined
#define EADDRNOTAVAIL 101
#define _FREEA_INLINE
#define __INT_FAST64_MAX__ 0x7fffffffffffffffLL
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
#define __forceinline extern __inline__ __attribute__((__always_inline__,__gnu_inline__))
#define BUFSIZ 512
#define __FLT_DIG__ 6
#define __FLT32_HAS_INFINITY__ 1
#define _malloca(size) ((((size) + _ALLOCA_S_MARKER_SIZE) <= _ALLOCA_S_THRESHOLD) ? _MarkAllocaS(_alloca((size) + _ALLOCA_S_MARKER_SIZE),_ALLOCA_S_STACK_MARKER) : _MarkAllocaS(malloc((size) + _ALLOCA_S_MARKER_SIZE),_ALLOCA_S_HEAP_MARKER))
#define __FLT64X_MAX_EXP__ 16384
#define __UINT_FAST64_TYPE__ long long unsigned int
#define __min(a,b) (((a) < (b)) ? (a) : (b))
#define lua_absindex COMPAT53_CONCAT(COMPAT53_PREFIX, _absindex)
#define STDIN_FILENO 0
#define __INT_MAX__ 0x7fffffff
#define __amd64__ 1
#define MINGW_DDRAW_VERSION 7
#define _WCTYPE_INLINE_DEFINED
#define lua_rawlen(L,i) lua_objlen((L), (i))
#define WIN32 1
#define LUA_ERRSYNTAX 3
#define EPROTONOSUPPORT 135
#define UINT_MAX (INT_MAX * 2U + 1U)
#define _P_OVERLAY 2
#define _CRT_ALGO_DEFINED
#define LLONG_MAX __LONG_LONG_MAX__
#define __CRT_UUID_DECL(type,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#define __code_model_medium__ 1
#define _TWO_DIGIT_EXPONENT 0x1
#define _STRUCT_NAME(x)
#define __INT64_TYPE__ long long int
#define SYS_OPEN _SYS_OPEN
#define EIO 5
#define __FLT_MAX_EXP__ 128
#define ENETUNREACH 118
#define EXDEV 18
#define __GNU_EXTENSION __MINGW_EXTENSION
#define WIN64 1
#define __ORDER_BIG_ENDIAN__ 4321
#define __DBL_MANT_DIG__ 53
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(__ret,__func,__type0,__arg0,__dsttype,__dst,__type1,__arg1)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(__ret,__func,__type0,__arg0,__dsttype,__dst,__type1,__arg1,__type2,__arg2)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(__ret,__func,__type0,__arg0,__dsttype,__dst,__type1,__arg1,__type2,__arg2,__type3,__arg3)
#define _crt_va_start(v,l) __builtin_va_start(v,l)
#define __SIZEOF_FLOAT128__ 16
#define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL
#define _iswxdigit_l(_c,_p) (_iswctype_l(_c,_HEX,_p))
#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
#define _IOWRT 0x0002
#define __DEC64_MIN__ 1E-383DD
#define __WINT_TYPE__ short unsigned int
#define __UINT_LEAST32_TYPE__ unsigned int
#define __SIZEOF_SHORT__ 2
#define STDOUT_FILENO 1
#define __SSE__ 1
#define LUALIB_API LUA_API
#define _FILE_OFFSET_BITS_SET_FTELLO
#define __intptr_t_defined
#define __LDBL_MIN_EXP__ (-16381)
#define lua_geti COMPAT53_CONCAT(COMPAT53_PREFIX, _geti)
#define _CRT_STRINGIZE(_Value) __CRT_STRINGIZE(_Value)
#define __MINGW_ATTRIB_DEPRECATED_STR(X)
#define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64
#define _HEAPINFO_DEFINED
#define LUA_CDIR "!\\"
#define __MINGW_PRAGMA_PARAM(x) _Pragma (#x)
#define ENOSPC 28
#define stdout (&__iob_func()[1])
#define ENOEXEC 8
#define __WINT_WIDTH__ 16
#define MINGW_SDK_INIT
#define luaL_pushresultsize(B,s) (luaL_addsize((B), (s)), luaL_pushresult((B)))
#define EOF (-1)
#define __INT_LEAST8_MAX__ 0x7f
#define iswcntrl(_c) (iswctype(_c,_CONTROL))
#define __FLT32X_MAX_10_EXP__ 308
#define __MINGW_MSC_PREREQ(major,minor) 0
#define __crt_typefix(ctype)
#define LLONG_MIN (-LLONG_MAX - 1LL)
#define __MINGW_IMP_SYMBOL(sym) __imp_ ##sym
#define lua_tointegerx COMPAT53_CONCAT(COMPAT53_PREFIX, _tointegerx_53)
#define __SIZEOF_INT128__ 16
#define _wP_tmpdir L"\\"
#define LUAI_UACNUMBER double
#define __LDBL_MAX_10_EXP__ 4932
#define __ATOMIC_RELAXED 0
#define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L)
#define EMSGSIZE 115
#define luaL_getmetafield(L,o,e) (luaL_getmetafield((L), (o), (e)) ? lua_type((L), -1) : LUA_TNIL)
#define _isxdigit_l(_Char,_Locale) _ischartype_l(_Char,_HEX,_Locale)
#define lua_getregistry(L) lua_pushvalue(L, LUA_REGISTRYINDEX)
#define __thiscall __attribute__((__thiscall__))
#define _tolower(_Char) ((_Char)-'A'+'a')
#define LUA_REGISTRYINDEX (-10000)
#define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128
#define _CRTRESTRICT
#define __UINT8_C(c) c
#define EFBIG 27
#define __FLT64_MAX_EXP__ 1024
#define ESRCH 3
#define __INT_LEAST32_TYPE__ int
#define _NLSCMPERROR 2147483647
#define SEEK_END 2
#define __SIZEOF_WCHAR_T__ 2
#define __UINT64_TYPE__ long long unsigned int
#define lua_unref(L,ref) luaL_unref(L, LUA_REGISTRYINDEX, (ref))
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(__ret,__func,__vfunc,__dsttype,__dst,__type1,__arg1)
#define LUA_GLOBALSINDEX (-10002)
#define ENOLCK 39
#define _HEX 0x80
#define ENFILE 23
#define EAGAIN 11
#define __MINGW32_MAJOR_VERSION 3
#define lua_tointeger(L,i) lua_tointegerx((L), (i), NULL)
#define _STDDEF_H_
#define _PTRDIFF_T_DEFINED
#define _ANONYMOUS_UNION __MINGW_EXTENSION
#define MB_CUR_MAX ___mb_cur_max_func()
#define __FLT128_HAS_QUIET_NAN__ 1
#define ENOSYS 40
#define luaL_addvalue COMPAT53_CONCAT(COMPAT53_PREFIX, _addvalue_53)
#define _MAX_FNAME 256
#define __INT_FAST8_TYPE__ signed char
#define _getchar_nolock() _getc_nolock(stdin)
#define EOPNOTSUPP 130
#define __fastcall __attribute__((__fastcall__))
#define __MINGW_GNUC_PREREQ(major,minor) (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
#define LUA_MASKCOUNT (1 << LUA_HOOKCOUNT)
#define _IOEOF 0x0010
#define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x
#define va_arg(v,l) __builtin_va_arg(v,l)
#define _I32_MIN (-2147483647 - 1)
#define __GNUC_STDC_INLINE__ 1
#define _THREADLOCALEINFO
#define P_tmpdir _P_tmpdir
#define __FLT64_HAS_DENORM__ 1
#define _FILE_OFFSET_BITS_SET_OFFT
#define LUA_OPPOW 5
#define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32
#define _ischartype_l(_Char,_Flag,_Locale) (((_Locale)!=NULL && (((_locale_t)(_Locale))->locinfo->mb_cur_max) > 1) ? _isctype_l(_Char,(_Flag),_Locale) : _chvalidchk_l(_Char,_Flag,_Locale))
#define __STRINGIFY(x) #x
#define __DBL_DECIMAL_DIG__ 17
#define __STDC_UTF_32__ 1
#define __unaligned
#define __MINGW_PRINTF_FORMAT ms_printf
#define _IOERR 0x0020
#define __INT_FAST8_WIDTH__ 8
#define __FXSR__ 1
#define EDEADLOCK EDEADLK
#define __DEC_EVAL_METHOD__ 2
#define ECONNABORTED 106
#define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x
#define FOPEN_MAX 20
#define _isspace_l(_Char,_Locale) _ischartype_l(_Char,_SPACE,_Locale)
#define __CRT_STRINGIZE(_Value) #_Value
#define luaL_fileresult COMPAT53_CONCAT(COMPAT53_PREFIX, L_fileresult)
#define __MINGW64__ 1
#define _CRT_CTYPEDATA_DEFINED
#define lua_pushstring(L,s) (lua_pushstring((L), (s)), lua_tostring((L), -1))
#define luaL_execresult COMPAT53_CONCAT(COMPAT53_PREFIX, L_execresult)
#define _CRT_PACKING 8
#define _TRUNCATE ((size_t)-1)
#define environ _environ
#define _WAIT_CHILD 0
#define lua_rawgeti(L,i,n) (lua_rawgeti((L), (i), (n)), lua_type((L), -1))
#define lua_rawgetp COMPAT53_CONCAT(COMPAT53_PREFIX, _rawgetp)
#define _USEDENTRY 1
#define __UINT32_C(c) c ## U
#define _CRT_SECURE_CPP_NOTHROW throw()
#define __INTMAX_MAX__ 0x7fffffffffffffffLL
#define EISCONN 113
#define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0)
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define luaL_setn(L,i,j) ((void)0)
#define WINNT 1
#define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F
#define lua_isboolean(L,n) (lua_type(L, (n)) == LUA_TBOOLEAN)
#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT 0
#define l_inspectstat(stat,what) ((void)0)
#define lua_callk(L,na,nr,ctx,cont) ((void)(ctx), (void)(cont), lua_call((L), (na), (nr)))
#define MINGW_HAS_DDRAW_H 1
#define _VA_LIST_T_H
#define __INT8_MAX__ 0x7f
#define __LONG_WIDTH__ 32
#define __PIC__ 1
#define _WAIT_GRANDCHILD 1
#define _CRT_SYSTEM_DEFINED
#define __UINT_FAST32_TYPE__ unsigned int
#define __MINGW_NOTHROW __attribute__ ((__nothrow__))
#define __CHAR32_TYPE__ unsigned int
#define ENOPROTOOPT 123
#define __MINGW_MBWC_CONVERT_DEFINED
#define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F
#define LUA_IDSIZE 60
#define LUA_TNONE (-1)
#define _OFF64_T_DEFINED
#define __int8 char
#define _winminor (* __MINGW_IMP_SYMBOL(_winminor))
#define __va_list__
#define lua_ref(L,lock) ((lock) ? luaL_ref(L, LUA_REGISTRYINDEX) : (lua_pushstring(L, "unlocked references are obsolete"), lua_error(L), 0))
#define wcswcs wcsstr
#define lua_tonumberx COMPAT53_CONCAT(COMPAT53_PREFIX, _tonumberx)
#define LUA_TFUNCTION 6
#define __INT32_TYPE__ int
#define luaL_reg luaL_Reg
#define _CRT_WIDE(_String) __CRT_WIDE(_String)
#define ENOBUFS 119
#define __SIZEOF_DOUBLE__ 8
#define luaL_getsubtable COMPAT53_CONCAT(COMPAT53_PREFIX, L_getsubtable)
#define __FLT_MIN_10_EXP__ (-37)
#define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64
#define lua_isinteger COMPAT53_CONCAT(COMPAT53_PREFIX, _isinteger)
#define __INT_LEAST32_WIDTH__ 32
#define __MINGW_ATTRIB_PURE __attribute__ ((__pure__))
#define LUA_STRLIBNAME "string"
#define _MAX_DIR 256
#define __INTMAX_TYPE__ long long int
#define lua_upvalueindex(i) (LUA_GLOBALSINDEX-(i))
#define _OUT_TO_STDERR 1
#define EFAULT 14
#define _MT
#define _INTEGRAL_MAX_BITS 64
#define __MINGW_ATTRIB_NORETURN __attribute__ ((__noreturn__))
#define __DEC128_MAX_EXP__ 6145
#define _CRTIMP_PURE _CRTIMP
#define EWOULDBLOCK 140
#define __MINGW64_VERSION_STATE "alpha"
#define __FLT32X_HAS_QUIET_NAN__ 1
#define va_end(v) __builtin_va_end(v)
#define __ATOMIC_CONSUME 1
#define __GNUC_MINOR__ 3
#define __INT_FAST16_WIDTH__ 16
#define __UINTMAX_MAX__ 0xffffffffffffffffULL
#define __DEC32_MANT_DIG__ 7
#define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x
#define luaL_loadbufferx COMPAT53_CONCAT(COMPAT53_PREFIX, L_loadbufferx)
#define iswupper(_c) (iswctype(_c,_UPPER))
#define __DECLSPEC_SUPPORTED
#define ECONNREFUSED 107
#define __DBL_MAX_10_EXP__ 308
#define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_EX(__ret_type,__ret_policy,__decl_spec,__name,__sec_name,__dst_attr,__dst_type,__dst,__arg1_type,__arg1,__arg2_type,__arg2)
#define __INT16_C(c) c
#define LUA_FFILIBNAME "ffi"
#define STRUNCATE 80
#define __STDC__ 1
#define __CRTDECL __cdecl
#define __MINGW_POISON_NAME(__IFACE) __IFACE ##_layout_has_not_been_verified_and_its_declaration_is_most_likely_incorrect
#define EEXIST 17
#define __MINGW_HAVE_ANSI_C99_PRINTF 1
#define __PTRDIFF_TYPE__ long long int
#define errno (*_errno())
#define _pctype (* __MINGW_IMP_SYMBOL(_pctype))
#define __MINGW_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
#define _INC_STDLIB
#define _winmajor (* __MINGW_IMP_SYMBOL(_winmajor))
#define _PTR_LD(x) ((unsigned char *)(&(x)->ld))
#define __ATOMIC_SEQ_CST 5
#define ENOENT 2
#define __UINT32_TYPE__ unsigned int
#define __FLT32X_MIN_10_EXP__ (-307)
#define _I64_MAX 9223372036854775807ll
#define LUA_API extern
#define __C89_NAMELESSUNIONNAME
#define _SECIMP __declspec(dllimport)
#define __UINTPTR_TYPE__ long long unsigned int
#define luaL_argcheck(L,cond,numarg,extramsg) ((void)((cond) || luaL_argerror(L, (numarg), (extramsg))))
#define luaL_setmetatable COMPAT53_CONCAT(COMPAT53_PREFIX, L_setmetatable)
#define _fputc_nolock(_c,_stream) (--(_stream)->_cnt >= 0 ? 0xff & (*(_stream)->_ptr++ = (char)(_c)) : _flsbuf((_c),(_stream)))
#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
#define __DEC128_MANT_DIG__ 34
#define __LDBL_MIN_10_EXP__ (-4931)
#define lua_getfield(L,i,k) (lua_getfield((L), (i), (k)), lua_type((L), -1))
#define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128
#define __SIZEOF_LONG_LONG__ 8
#define _INC_STDARG
#define DUMMYSTRUCTNAME
#define __FLT128_DECIMAL_DIG__ 36
#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
#define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x
#define __MINGW64_VERSION_MINOR 0
#define __LDBL_DIG__ 18
#define _STDARG_H
#define __MINGW_ATTRIB_DEPRECATED __attribute__ ((__deprecated__))
#define __FLT_DECIMAL_DIG__ 9
#define __UINT_FAST16_MAX__ 0xffff
#define _ERRCODE_DEFINED
#define _LEADBYTE 0x8000
#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
#define _P_DETACH 4
#define luaL_requiref COMPAT53_CONCAT(COMPAT53_PREFIX, L_requiref_53)
#define MB_LEN_MAX 5
#define __INT_LEAST64_WIDTH__ 64
#define _SPAWNV_DEFINED
#define _iswgraph_l(_c,_p) (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p))
#define __UINT_FAST8_TYPE__ unsigned char
#define _I8_MAX 127
#define __WIN64__ 1
#define _REPORT_ERRMODE 3
#define _I64_MIN (-9223372036854775807ll - 1)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_3(__ret_type,__ret_policy,__decl_spec,__name,__dst_attr,__dst_type,__dst,__arg1_type,__arg1,__arg2_type,__arg2,__arg3_type,__arg3) __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_3_EX(__ret_type, __ret_policy, __decl_spec, __func_name, __func_name ##_s, __dst_attr, __dst_type, __dst, __arg1_type, __arg1, __arg2_type, __arg2, __arg3_type, __arg3)
#define LUA_FILEHANDLE "FILE*"
#define _TIME32_T_DEFINED
#define LUA_NUMBER double
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_RELEASE 3
#define _FREEENTRY 0
#define _FILE_OFFSET_BITS_SET_FSEEKO
#define _iswdigit_l(_c,_p) (_iswctype_l(_c,_DIGIT,_p))
#define __declspec(x) __attribute__((x))
#define _M_AMD64 100