diff options
Diffstat (limited to 'win32/ext/lua-wdk/lua-wdk.patch')
-rw-r--r-- | win32/ext/lua-wdk/lua-wdk.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/win32/ext/lua-wdk/lua-wdk.patch b/win32/ext/lua-wdk/lua-wdk.patch deleted file mode 100644 index 5ba3415c..00000000 --- a/win32/ext/lua-wdk/lua-wdk.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -ruN --strip-trailing-cr lua-5.2.0.orig/src/lopcodes.h lua-5.2.0/src/lopcodes.h ---- lua-5.2.0.orig/src/lopcodes.h 2011-07-15 15:50:28 +0200 -+++ lua-5.2.0/src/lopcodes.h 2012-01-10 15:41:33 +0100 -@@ -269,7 +269,8 @@ - OpArgK /* argument is a constant or register/constant */ - }; - --LUAI_DDEC const lu_byte luaP_opmodes[NUM_OPCODES]; -+/* LUAI_DDEC const lu_byte luaP_opmodes[NUM_OPCODES]; */ -+const lu_byte luaP_opmodes[NUM_OPCODES]; - - #define getOpMode(m) (cast(enum OpMode, luaP_opmodes[m] & 3)) - #define getBMode(m) (cast(enum OpArgMask, (luaP_opmodes[m] >> 4) & 3)) -@@ -278,7 +279,8 @@ - #define testTMode(m) (luaP_opmodes[m] & (1 << 7)) - - --LUAI_DDEC const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */ -+/* LUAI_DDEC const char *const luaP_opnames[NUM_OPCODES+1]; */ -+const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */ - - - /* number of list items to accumulate before a SETLIST instruction */ -diff -ruN --strip-trailing-cr lua-5.2.0.orig/src/lundump.h lua-5.2.0/src/lundump.h ---- lua-5.2.0.orig/src/lundump.h 2011-05-06 16:35:16 +0200 -+++ lua-5.2.0/src/lundump.h 2012-01-10 15:39:37 +0100 -@@ -17,7 +17,8 @@ - LUAI_FUNC void luaU_header (lu_byte* h); - - /* dump one chunk; from ldump.c */ --LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); -+/* LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); */ -+LUALIB_API int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); - - /* data to catch conversion errors */ - #define LUAC_TAIL "\x19\x93\r\n\x1a\n" |