summaryrefslogtreecommitdiff
path: root/xmake/scripts/module
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-04 21:03:38 +0800
committerruki <[email protected]>2024-04-04 21:03:38 +0800
commit6142965eb16020eb23f704a273f0b78502e02333 (patch)
treec3963819a6efdbc02dd54e96344061d8c0a5efaa /xmake/scripts/module
parentf56b7ac57219564b9cf05aa5debc31642f02324a (diff)
fix xmi.h
Diffstat (limited to 'xmake/scripts/module')
-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