diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index 95aa79d..ee8dd52 100644 --- a/src/common.h +++ b/src/common.h @@ -6,8 +6,8 @@ #include "lua.h" -#if LUA_VERSION_NUM < 502 -#define luaL_typeerror luaL_typerror +#if LUA_VERSION_NUM > 501 + int luaL_typerror (lua_State *L, int narg, const char *tname); #endif /* REX_API can be overridden from the command line or Makefile */ |