mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix MinGW build.
This commit is contained in:
parent
0ded8e82a8
commit
279673ddfc
@ -68,9 +68,6 @@ static const char *ll_bcsym(void *lib, const char *sym)
|
|||||||
#elif LJ_TARGET_WINDOWS
|
#elif LJ_TARGET_WINDOWS
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#ifndef WINVER
|
|
||||||
#define WINVER 0x0500
|
|
||||||
#endif
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
#ifndef GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
|
#ifndef GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
|
||||||
|
@ -144,9 +144,6 @@ static void *clib_getsym(CLibrary *cl, const char *name)
|
|||||||
#elif LJ_TARGET_WINDOWS
|
#elif LJ_TARGET_WINDOWS
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#ifndef WINVER
|
|
||||||
#define WINVER 0x0500
|
|
||||||
#endif
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
#ifndef GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
|
#ifndef GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WINVER
|
#ifndef WINVER
|
||||||
#define WINVER 0x0500
|
#define WINVER 0x0501
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "lua.h"
|
#include "lua.h"
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
#ifndef luaconf_h
|
#ifndef luaconf_h
|
||||||
#define luaconf_h
|
#define luaconf_h
|
||||||
|
|
||||||
|
#ifndef WINVER
|
||||||
|
#define WINVER 0x0501
|
||||||
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user