aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorMarc Jakobi <marc@jakobi.dev>2026-01-21 22:40:19 +0100
committerGitHub <noreply@github.com>2026-01-21 22:40:19 +0100
commitdfd0d4b8ca3607ae39b1d2cbad4e3a7180dd6754 (patch)
treed667b884a3872fda2737d6c8d3d6ee0080ccba44 /src/compat.h
parentb1d1b89d74f157e9cd9b8d2ba6b6da870d65dabf (diff)
downloadluasystem-dfd0d4b8ca3607ae39b1d2cbad4e3a7180dd6754.tar.gz
luasystem-dfd0d4b8ca3607ae39b1d2cbad4e3a7180dd6754.tar.bz2
luasystem-dfd0d4b8ca3607ae39b1d2cbad4e3a7180dd6754.zip
fix(compat): duplicate symbol when linking with luajit on windows (#81)HEADmaster
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index 2033aa3..f9e07ad 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -4,7 +4,7 @@
4#include <lua.h> 4#include <lua.h>
5#include <lauxlib.h> 5#include <lauxlib.h>
6 6
7#if LUA_VERSION_NUM == 501 7#if LUA_VERSION_NUM == 501 && !defined(LUAJIT_VERSION)
8void luaL_setfuncs(lua_State *L, const luaL_Reg *l, int nup); 8void luaL_setfuncs(lua_State *L, const luaL_Reg *l, int nup);
9void *luaL_testudata(lua_State *L, int ud, const char *tname); 9void *luaL_testudata(lua_State *L, int ud, const char *tname);
10#endif 10#endif