Unbreak integer build.

This commit is contained in:
Johny Mattsson 2016-11-17 21:59:56 +11:00
parent 3fe7f77512
commit 888ce8b5f3
1 changed files with 2 additions and 0 deletions

View File

@ -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) {