From 888ce8b5f3d93e58aba7b35d08968d831620e56d Mon Sep 17 00:00:00 2001 From: Johny Mattsson Date: Thu, 17 Nov 2016 21:59:56 +1100 Subject: [PATCH] Unbreak integer build. --- components/modules/struct.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/modules/struct.c b/components/modules/struct.c index ca339295..cbe9da69 100644 --- a/components/modules/struct.c +++ b/components/modules/struct.c @@ -197,6 +197,7 @@ static void putinteger (lua_State *L, luaL_Buffer *b, int arg, int endian, } +#ifndef LUA_NUMBER_INTEGRAL static void correctbytes (char *b, int size, int endian) { if (endian != native.endian) { int i = 0; @@ -207,6 +208,7 @@ static void correctbytes (char *b, int size, int endian) { } } } +#endif static int b_pack (lua_State *L) {