diff options
| author | Mike Pall <mike> | 2013-12-29 19:21:16 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2013-12-29 19:21:16 +0100 |
| commit | b779f31ca37bcb51dedf5b8d35f91e297e6a729d (patch) | |
| tree | d6c0b43de66b32da06b265bf67a7efd8e6bc422f /src/host | |
| parent | ca67c89f209afd4b1be78be0e50064b1a4edebdc (diff) | |
| download | luajit-b779f31ca37bcb51dedf5b8d35f91e297e6a729d.tar.gz luajit-b779f31ca37bcb51dedf5b8d35f91e297e6a729d.tar.bz2 luajit-b779f31ca37bcb51dedf5b8d35f91e297e6a729d.zip | |
Fix MinGW build.
Diffstat (limited to 'src/host')
| -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> |
