Commit 888ce8b5 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Unbreak integer build.

parent 3fe7f775
...@@ -197,6 +197,7 @@ static void putinteger (lua_State *L, luaL_Buffer *b, int arg, int endian, ...@@ -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) { static void correctbytes (char *b, int size, int endian) {
if (endian != native.endian) { if (endian != native.endian) {
int i = 0; int i = 0;
...@@ -207,6 +208,7 @@ static void correctbytes (char *b, int size, int endian) { ...@@ -207,6 +208,7 @@ static void correctbytes (char *b, int size, int endian) {
} }
} }
} }
#endif
static int b_pack (lua_State *L) { static int b_pack (lua_State *L) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment