summaryrefslogtreecommitdiff
path: root/include/cdlua5_private.h
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-11 17:42:45 +0000
committerscuri <scuri>2010-06-11 17:42:45 +0000
commit94c3a40403f8aaaac8432a31bde6b2a9387d932f (patch)
treee7782b0261c73890e02f8d280a990633fbfa8bbe /include/cdlua5_private.h
parent78c33311d99b1c9b854669d9b634d602692a304b (diff)
*** empty log message ***
Diffstat (limited to 'include/cdlua5_private.h')
-rw-r--r--include/cdlua5_private.h3
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
}