diff options
-rw-r--r-- | src/host/genminilua.lua | 1 | ||||
-rw-r--r-- | src/host/minilua.c | 1 |
2 files changed, 2 insertions, 0 deletions
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; | |||
210 | #else | 210 | #else |
211 | typedef unsigned long long U64; | 211 | typedef unsigned long long U64; |
212 | #endif | 212 | #endif |
213 | int _CRT_glob = 0; | ||
213 | ]]}, {} | 214 | ]]}, {} |
214 | 215 | ||
215 | local function preprocess(src) | 216 | 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; | |||
27 | #else | 27 | #else |
28 | typedef unsigned long long U64; | 28 | typedef unsigned long long U64; |
29 | #endif | 29 | #endif |
30 | int _CRT_glob = 0; | ||
30 | #include <stddef.h> | 31 | #include <stddef.h> |
31 | #include <stdarg.h> | 32 | #include <stdarg.h> |
32 | #include <limits.h> | 33 | #include <limits.h> |