aboutsummaryrefslogtreecommitdiff
path: root/lprefix.h
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2015-01-20 01:15:00 +0100
committerPhilipp Janda <siffiejoe@gmx.net>2015-01-20 01:15:00 +0100
commite52c3c4e7af665acd23e63fd3ae85f2c8ae87e49 (patch)
tree3067b1a8578cdddd9bdb1f5b5a3dba13c51a80fc /lprefix.h
parent489cd678823e0981ff2e4d2544b84094ed23c587 (diff)
downloadlua-compat-5.3-e52c3c4e7af665acd23e63fd3ae85f2c8ae87e49.tar.gz
lua-compat-5.3-e52c3c4e7af665acd23e63fd3ae85f2c8ae87e49.tar.bz2
lua-compat-5.3-e52c3c4e7af665acd23e63fd3ae85f2c8ae87e49.zip
use table library from Lua 5.3 sources if available
Diffstat (limited to 'lprefix.h')
-rw-r--r--lprefix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lprefix.h b/lprefix.h
index 0d25065..79f0bd8 100644
--- a/lprefix.h
+++ b/lprefix.h
@@ -65,6 +65,7 @@ static void compat53_rawseti (lua_State *L, int i, lua_Integer n) {
65# undef lua_rawseti 65# undef lua_rawseti
66# define lua_rawseti compat53_rawseti 66# define lua_rawseti compat53_rawseti
67# if LUA_VERSION_NUM == 501 67# if LUA_VERSION_NUM == 501
68# undef lua_compare
68# define lua_compare(L, a, b, op) lua_lessthan(L, a, b) 69# define lua_compare(L, a, b, op) lua_lessthan(L, a, b)
69# endif 70# endif
70#endif /* ltablib_c */ 71#endif /* ltablib_c */