aboutsummaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorMike Pall <mike>2013-12-29 19:21:16 +0100
committerMike Pall <mike>2013-12-29 19:21:16 +0100
commitb779f31ca37bcb51dedf5b8d35f91e297e6a729d (patch)
treed6c0b43de66b32da06b265bf67a7efd8e6bc422f /src/host
parentca67c89f209afd4b1be78be0e50064b1a4edebdc (diff)
downloadluajit-b779f31ca37bcb51dedf5b8d35f91e297e6a729d.tar.gz
luajit-b779f31ca37bcb51dedf5b8d35f91e297e6a729d.tar.bz2
luajit-b779f31ca37bcb51dedf5b8d35f91e297e6a729d.zip
Fix MinGW build.
Diffstat (limited to 'src/host')
-rw-r--r--src/host/genminilua.lua1
-rw-r--r--src/host/minilua.c1
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
211typedef unsigned long long U64; 211typedef unsigned long long U64;
212#endif 212#endif
213int _CRT_glob = 0;
213]]}, {} 214]]}, {}
214 215
215local function preprocess(src) 216local 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
28typedef unsigned long long U64; 28typedef unsigned long long U64;
29#endif 29#endif
30int _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>