@@ -68,9 +68,6 @@ static const char *ll_bcsym(void *lib, const char *sym)
#elif LJ_TARGET_WINDOWS
#define WIN32_LEAN_AND_MEAN
-#ifndef WINVER
-#define WINVER 0x0500
-#endif
#include <windows.h>
#ifndef GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
@@ -144,9 +144,6 @@ static void *clib_getsym(CLibrary *cl, const char *name)
@@ -22,7 +22,7 @@
#endif
#ifndef WINVER
+#define WINVER 0x0501
#include "lua.h"
@@ -6,6 +6,9 @@
#ifndef luaconf_h
#define luaconf_h
+#ifndef WINVER
+#endif
#include <limits.h>
#include <stddef.h>