diff --git a/src/host/genminilua.lua b/src/host/genminilua.lua index e666f088..7ba39d47 100644 --- a/src/host/genminilua.lua +++ b/src/host/genminilua.lua @@ -210,6 +210,7 @@ typedef unsigned __int64 U64; #else typedef unsigned long long U64; #endif +int _CRT_glob = 0; ]]}, {} local function preprocess(src) diff --git a/src/host/minilua.c b/src/host/minilua.c index 93e9273e..aee192a7 100644 --- a/src/host/minilua.c +++ b/src/host/minilua.c @@ -27,6 +27,7 @@ typedef unsigned __int64 U64; #else typedef unsigned long long U64; #endif +int _CRT_glob = 0; #include #include #include