From db238a0807718576ecc0667acafea825537cc425 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 11 Jun 2010 17:43:51 +0000 Subject: *** empty log message *** --- src/lua5/imlua_aux.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lua5/imlua_aux.h') diff --git a/src/lua5/imlua_aux.h b/src/lua5/imlua_aux.h index 2dc4466..c1cbdb5 100644 --- a/src/lua5/imlua_aux.h +++ b/src/lua5/imlua_aux.h @@ -2,7 +2,7 @@ * \brief IM Lua 5 Binding * * See Copyright Notice in im_lib.h - * $Id: imlua_aux.h,v 1.1 2008/10/17 06:16:32 scuri Exp $ + * $Id: imlua_aux.h,v 1.2 2010/06/11 17:43:52 scuri Exp $ */ #ifndef __IMLUA_AUX_H @@ -75,6 +75,11 @@ void imlua_open_convert(lua_State *L); /* imlua_convert.c */ void imlua_open_util(lua_State *L); /* imlua_util.c */ void imlua_open_file(lua_State *L); /* imlua_file.c */ +#if LUA_VERSION_NUM < 502 +#define luaL_typeerror luaL_typerror +#endif + + #ifdef __cplusplus } #endif -- cgit v1.2.3