diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 01:06:43 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 01:06:47 +0200 |
commit | 92efe73791d0998536042bfab5a1babc67d168c7 (patch) | |
tree | 6c5f7e9d9a8e5b439f50821f498ae6f6df776f36 /im/src/lua5/imlua_aux.h | |
parent | f23d91bd3ba87c8fe6691af9ebd1a5210e2fbaec (diff) |
Upgrading to IM 3.6.2, and doing some cleanup at the same time.
Diffstat (limited to 'im/src/lua5/imlua_aux.h')
-rwxr-xr-x | im/src/lua5/imlua_aux.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/im/src/lua5/imlua_aux.h b/im/src/lua5/imlua_aux.h index 2dc4466..c1cbdb5 100755 --- a/im/src/lua5/imlua_aux.h +++ b/im/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 |