From 3ff1d150a13a63db0cefd4cacb0d083254dbc38e Mon Sep 17 00:00:00 2001 From: scuri Date: Mon, 7 Jun 2010 20:55:33 +0000 Subject: *** empty log message *** --- src/lua5/imlua_image.c | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'src/lua5/imlua_image.c') diff --git a/src/lua5/imlua_image.c b/src/lua5/imlua_image.c index a95007e..f3c8855 100644 --- a/src/lua5/imlua_image.c +++ b/src/lua5/imlua_image.c @@ -2,7 +2,7 @@ * \brief IM Lua 5 Binding * * See Copyright Notice in im_lib.h - * $Id: imlua_image.c,v 1.10 2010/05/26 18:29:49 scuri Exp $ + * $Id: imlua_image.c,v 1.11 2010/06/07 20:59:32 scuri Exp $ */ #include @@ -1101,21 +1101,15 @@ void imlua_open_image (lua_State *L) /* "im" table is at the top of the stack */ createmeta(L); luaL_register(L, NULL, imimage_lib); -#ifdef TEC_BIGENDIAN -#ifdef TEC_64 -#include "loh/im_image_be64.loh" -#else -#include "loh/im_image_be32.loh" -#endif -#else -#ifdef TEC_64 -#ifdef WIN64 -#include "loh/im_image_le64w.loh" + +#ifdef IMLUA_USELOH +#include "im_image.loh" #else -#include "loh/im_image_le64.loh" -#endif +#ifdef IMLUA_USELZH +#include "im_image.lzh" #else -#include "loh/im_image.loh" + luaL_dofile(L, "im_image.lua"); #endif #endif + } -- cgit v1.2.3