summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/scripts/module/xmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/module/xmi.h b/xmake/scripts/module/xmi.h
index eb9608bd4..f8b74585a 100644
--- a/xmake/scripts/module/xmi.h
+++ b/xmake/scripts/module/xmi.h
@@ -64,7 +64,7 @@
/* we cannot redefine lua functions in loadxmi.c,
* because original lua.h has been included
*/
-#ifndef LUA_VERSION
+#ifndef XM_PREFIX_H
# define lua_createtable xmi_lua_createtable
# define lua_tointegerx xmi_lua_tointegerx
# define lua_touserdata xmi_lua_touserdata