diff options
author | Philipp Janda <siffiejoe@gmx.net> | 2015-01-20 01:15:00 +0100 |
---|---|---|
committer | Philipp Janda <siffiejoe@gmx.net> | 2015-01-20 01:15:00 +0100 |
commit | e52c3c4e7af665acd23e63fd3ae85f2c8ae87e49 (patch) | |
tree | 3067b1a8578cdddd9bdb1f5b5a3dba13c51a80fc /lprefix.h | |
parent | 489cd678823e0981ff2e4d2544b84094ed23c587 (diff) | |
download | lua-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |