diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 01:48:52 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 01:50:25 +0200 |
commit | e9a184546b18cf3b796bd560561f312934004c54 (patch) | |
tree | aa785af9a8d03f8ce276c9e9ecec78397005ec22 /cd/include/cdlua5_private.h | |
parent | 92efe73791d0998536042bfab5a1babc67d168c7 (diff) |
Upgrading to CD 5.4 - and cleaning up.
Diffstat (limited to 'cd/include/cdlua5_private.h')
-rwxr-xr-x | cd/include/cdlua5_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cd/include/cdlua5_private.h b/cd/include/cdlua5_private.h index 974fb4e..3051fb6 100755 --- a/cd/include/cdlua5_private.h +++ b/cd/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 } |