diff options
author | scuri <scuri> | 2010-06-11 17:43:51 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-11 17:43:51 +0000 |
commit | db238a0807718576ecc0667acafea825537cc425 (patch) | |
tree | 6bfb316ff6d8309042e525845c274d648b0c8c3d /src/lua5/imlua_aux.h | |
parent | 4fc1d102d5e300e811260a485defe5b64468d46a (diff) |
*** empty log message ***
Diffstat (limited to 'src/lua5/imlua_aux.h')
-rw-r--r-- | src/lua5/imlua_aux.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 |