summaryrefslogtreecommitdiffstats
path: root/source/AllToLua.pkg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/AllToLua.pkg10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/AllToLua.pkg b/source/AllToLua.pkg
index 0913de9a2..dea5dc54f 100644
--- a/source/AllToLua.pkg
+++ b/source/AllToLua.pkg
@@ -3,6 +3,16 @@ $#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same acr
$#include "tolua_base.h"
+// Typedefs from Globals.h, so that we don't have to include that file:
+typedef long long Int64;
+typedef int Int32;
+typedef short Int16;
+
+typedef unsigned long long UInt64;
+typedef unsigned int UInt32;
+typedef unsigned short UInt16;
+
+
$cfile "ChunkDef.h"
$cfile "Torch.h"