diff options
| author | Marc Jakobi <marc@jakobi.dev> | 2026-01-21 22:40:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-21 22:40:19 +0100 |
| commit | dfd0d4b8ca3607ae39b1d2cbad4e3a7180dd6754 (patch) | |
| tree | d667b884a3872fda2737d6c8d3d6ee0080ccba44 /src/compat.c | |
| parent | b1d1b89d74f157e9cd9b8d2ba6b6da870d65dabf (diff) | |
| download | luasystem-dfd0d4b8ca3607ae39b1d2cbad4e3a7180dd6754.tar.gz luasystem-dfd0d4b8ca3607ae39b1d2cbad4e3a7180dd6754.tar.bz2 luasystem-dfd0d4b8ca3607ae39b1d2cbad4e3a7180dd6754.zip | |
Diffstat (limited to 'src/compat.c')
| -rw-r--r-- | src/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.c b/src/compat.c index 2d2bec9..0842496 100644 --- a/src/compat.c +++ b/src/compat.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #include <lua.h> | 1 | #include <lua.h> |
| 2 | #include <lauxlib.h> | 2 | #include <lauxlib.h> |
| 3 | 3 | ||
| 4 | #if LUA_VERSION_NUM == 501 | 4 | #if LUA_VERSION_NUM == 501 && !defined(LUAJIT_VERSION) |
| 5 | void luaL_setfuncs(lua_State *L, const luaL_Reg *l, int nup) { | 5 | void luaL_setfuncs(lua_State *L, const luaL_Reg *l, int nup) { |
| 6 | luaL_checkstack(L, nup+1, "too many upvalues"); | 6 | luaL_checkstack(L, nup+1, "too many upvalues"); |
| 7 | for (; l->name != NULL; l++) { /* fill the table with given functions */ | 7 | for (; l->name != NULL; l++) { /* fill the table with given functions */ |
