aboutsummaryrefslogtreecommitdiff
path: root/lprefix.h
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2017-08-27 15:50:20 +0200
committerPhilipp Janda <siffiejoe@gmx.net>2017-08-27 15:50:20 +0200
commit818e129043c73930aca0d223db62837ee921bb2a (patch)
tree1978e1ff1d971dc6d925920588bfb6a7859953a9 /lprefix.h
parentaeb072066f799c87527c81b19919dfd3b55bc373 (diff)
downloadlua-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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lprefix.h b/lprefix.h
index cd189a5..0eb149f 100644
--- a/lprefix.h
+++ b/lprefix.h
@@ -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!