diff options
Diffstat (limited to 'include/cdlua5_private.h')
-rw-r--r-- | include/cdlua5_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cdlua5_private.h b/include/cdlua5_private.h index 974fb4e..3051fb6 100644 --- a/include/cdlua5_private.h +++ b/include/cdlua5_private.h @@ -133,6 +133,9 @@ void cdlua_pushbitmap(lua_State* L, cdBitmap* bitmap); void cdlua_pushimagergb_ex(lua_State* L, unsigned char* red, unsigned char* green, unsigned char* blue, int width, int height); void cdlua_pushimagergba_ex(lua_State* L, unsigned char* red, unsigned char* green, unsigned char* blue, unsigned char* alpha, int width, int height); +#if LUA_VERSION_NUM < 502 +#define luaL_typeerror luaL_typerror +#endif #ifdef __cplusplus } |