summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts')
-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 da5e16906..b9d3201ce 100644
--- a/xmake/scripts/module/xmi.h
+++ b/xmake/scripts/module/xmi.h
@@ -609,7 +609,7 @@ typedef struct xmi_lua_ops_t_ {
int (*_lua_dump)(lua_State* lua, lua_Writer writer, void* data, int strip);
// luaL functions
-#ifdef XMI_USE_LUAJIT
+#ifndef XMI_USE_LUAJIT
const char* (*_luaL_tolstring)(lua_State* lua, int idx, size_t* len);
int (*_luaL_typeerror)(lua_State* lua, int arg, const char* tname);
#endif