From 2468ded99d8c35681f1f26c46db5f9e7ad073999 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 19 Apr 2007 10:06:53 +0000 Subject: [PATCH] Use real 32 bit integers. --- stepmania/src/lua-5.1/src/luaconf.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/stepmania/src/lua-5.1/src/luaconf.h b/stepmania/src/lua-5.1/src/luaconf.h index 1dca4da51b..ad8a6b5382 100644 --- a/stepmania/src/lua-5.1/src/luaconf.h +++ b/stepmania/src/lua-5.1/src/luaconf.h @@ -10,6 +10,7 @@ #include #include +#include #if defined(HAVE_CONFIG_H) #include @@ -413,20 +414,11 @@ ** part always works, but may waste space on machines with 64-bit ** longs.) Probably you do not need to change this. */ -#if LUAI_BITSINT >= 32 -#define LUAI_UINT32 unsigned int -#define LUAI_INT32 int +#define LUAI_UINT32 uint32_t +#define LUAI_INT32 int32_t #define LUAI_MAXINT32 INT_MAX #define LUAI_UMEM size_t #define LUAI_MEM ptrdiff_t -#else -/* 16-bit ints */ -#define LUAI_UINT32 unsigned long -#define LUAI_INT32 long -#define LUAI_MAXINT32 LONG_MAX -#define LUAI_UMEM unsigned long -#define LUAI_MEM long -#endif /*