summaryrefslogtreecommitdiff
path: root/src/lua5/imlua_convert.c
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-07 20:55:33 +0000
committerscuri <scuri>2010-06-07 20:55:33 +0000
commit3ff1d150a13a63db0cefd4cacb0d083254dbc38e (patch)
treef05d8214d5ee86ffbd4c35aa8af84f4b2cc03f2a /src/lua5/imlua_convert.c
parent3349fa9ffaf6778fe2021c76a8193d6797be74e9 (diff)
*** empty log message ***
Diffstat (limited to 'src/lua5/imlua_convert.c')
-rw-r--r--src/lua5/imlua_convert.c22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/lua5/imlua_convert.c b/src/lua5/imlua_convert.c
index c2c56d9..cfc9198 100644
--- a/src/lua5/imlua_convert.c
+++ b/src/lua5/imlua_convert.c
@@ -2,7 +2,7 @@
* \brief IM Lua 5 Binding
*
* See Copyright Notice in im_lib.h
- * $Id: imlua_convert.c,v 1.3 2009/08/18 02:23:33 scuri Exp $
+ * $Id: imlua_convert.c,v 1.4 2010/06/07 20:59:32 scuri Exp $
*/
#include "im.h"
@@ -76,21 +76,15 @@ void imlua_open_convert (lua_State *L)
{
/* "im" table is at the top of the stack */
luaL_register(L, NULL, imconvert_lib);
-#ifdef TEC_BIGENDIAN
-#ifdef TEC_64
-#include "loh/im_convert_be64.loh"
-#else
-#include "loh/im_convert_be32.loh"
-#endif
-#else
-#ifdef TEC_64
-#ifdef WIN64
-#include "loh/im_convert_le64w.loh"
+
+#ifdef IMLUA_USELOH
+#include "im_convert.loh"
#else
-#include "loh/im_convert_le64.loh"
-#endif
+#ifdef IMLUA_USELZH
+#include "im_convert.lzh"
#else
-#include "loh/im_convert.loh"
+ luaL_dofile(L, "im_convert.lua");
#endif
#endif
+
}