Author: stepan Date: 2009-11-20 18:04:57 +0100 (Fri, 20 Nov 2009) New Revision: 58
Added: trunk/SerialICE/patches/lua-5.1.4-intsize.diff Log: This patch is needed on 32bit platforms or you will get lots of error messages like "WARNING: undefined load operation @fffffff0" and the SerialICE filters and loggers won't work correctly.
Signed-off-by: Stefan Reinauer stepan@coresystems.de
Added: trunk/SerialICE/patches/lua-5.1.4-intsize.diff =================================================================== --- trunk/SerialICE/patches/lua-5.1.4-intsize.diff (rev 0) +++ trunk/SerialICE/patches/lua-5.1.4-intsize.diff 2009-11-20 17:04:57 UTC (rev 58) @@ -0,0 +1,19 @@ +--- src/luaconf.h.orig 2009-11-20 17:57:46.000000000 +0100 ++++ src/luaconf.h 2009-11-20 18:01:21.000000000 +0100 +@@ -10,6 +10,7 @@ + + #include <limits.h> + #include <stddef.h> ++#include <stdint.h> + + + /* +@@ -140,7 +141,7 @@ + ** CHANGE that if ptrdiff_t is not adequate on your machine. (On most + ** machines, ptrdiff_t gives a good choice between int or long.) + */ +-#define LUA_INTEGER ptrdiff_t ++#define LUA_INTEGER int64_t + + + /*