diff options
author | Philipp Janda <siffiejoe@gmx.net> | 2017-08-27 15:50:20 +0200 |
---|---|---|
committer | Philipp Janda <siffiejoe@gmx.net> | 2017-08-27 15:50:20 +0200 |
commit | 818e129043c73930aca0d223db62837ee921bb2a (patch) | |
tree | 1978e1ff1d971dc6d925920588bfb6a7859953a9 /lprefix.h | |
parent | aeb072066f799c87527c81b19919dfd3b55bc373 (diff) | |
download | lua-compat-5.3-818e129043c73930aca0d223db62837ee921bb2a.tar.gz lua-compat-5.3-818e129043c73930aca0d223db62837ee921bb2a.tar.bz2 lua-compat-5.3-818e129043c73930aca0d223db62837ee921bb2a.zip |
Update backports to Lua 5.3.4.
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! |