]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Fix MinGW build.
authorMike Pall <mike>
Sun, 29 Dec 2013 18:21:16 +0000 (19:21 +0100)
committerMike Pall <mike>
Sun, 29 Dec 2013 18:21:16 +0000 (19:21 +0100)
src/host/genminilua.lua
src/host/minilua.c

index e666f088a8cd0dd77b32890f7063f3f5da82dfca..7ba39d478dc1f50aa7b6610300698bc528a24dbc 100644 (file)
@@ -210,6 +210,7 @@ typedef unsigned __int64 U64;
 #else
 typedef unsigned long long U64;
 #endif
+int _CRT_glob = 0;
 ]]}, {}
 
 local function preprocess(src)
index 93e9273e462085d5ed05a5972467630128d74e90..aee192a710c3dcb16572c10719c18cf5f40f8fdb 100644 (file)
@@ -27,6 +27,7 @@ typedef unsigned __int64 U64;
 #else
 typedef unsigned long long U64;
 #endif
+int _CRT_glob = 0;
 #include <stddef.h>
 #include <stdarg.h>
 #include <limits.h>