diff options
Diffstat (limited to 'lprefix.h')
-rw-r--r-- | lprefix.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -98,6 +98,15 @@ static const char *compat53_utf8_escape (lua_State* L, long x) { | |||
98 | # define LUA_INTEGER_FRMLEN "" | 98 | # define LUA_INTEGER_FRMLEN "" |
99 | # define LUA_NUMBER_FRMLEN "" | 99 | # define LUA_NUMBER_FRMLEN "" |
100 | # endif | 100 | # endif |
101 | # ifndef LUA_MININTEGER | ||
102 | # define LUA_MININTEGER 0 | ||
103 | # endif | ||
104 | # ifndef LUA_INTEGER_FMT | ||
105 | # define LUA_INTEGER_FMT "%d" | ||
106 | # endif | ||
107 | # ifndef LUAI_UACINT | ||
108 | # define LUAI_UACINT lua_Integer | ||
109 | # endif | ||
101 | /* different Lua 5.3 versions have conflicting variants of this macro | 110 | /* different Lua 5.3 versions have conflicting variants of this macro |
102 | * in luaconf.h, there's a fallback implementation in lstrlib.c, and | 111 | * in luaconf.h, there's a fallback implementation in lstrlib.c, and |
103 | * the macro isn't used for string (un)packing anyway! | 112 | * the macro isn't used for string (un)packing anyway! |