diff options
Diffstat (limited to 'core/src/xmake/prefix.h')
| -rw-r--r-- | core/src/xmake/prefix.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/src/xmake/prefix.h b/core/src/xmake/prefix.h index 4b159741e..7cd2ea418 100644 --- a/core/src/xmake/prefix.h +++ b/core/src/xmake/prefix.h @@ -43,6 +43,15 @@ #endif /* ////////////////////////////////////////////////////////////////////////////////////// + * types + */ + +// define lua_Unsigned for luajit/lua5.1 +#if defined(USE_LUAJIT) || LUA_VERSION_NUM < 503 +typedef size_t lua_Unsigned; +#endif + +/* ////////////////////////////////////////////////////////////////////////////////////// * private interfaces */ |
