Explorar o código

Fix amalgamated build.

Mike Pall %!s(int64=8) %!d(string=hai) anos
pai
achega
202713a638
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lj_state.h

+ 1 - 1
src/lj_state.h

@@ -28,7 +28,7 @@ static LJ_AINLINE void lj_state_checkstack(lua_State *L, MSize need)
 
 LJ_FUNC lua_State *lj_state_new(lua_State *L);
 LJ_FUNC void LJ_FASTCALL lj_state_free(global_State *g, lua_State *L);
-#if LJ_64
+#if LJ_64 && !LJ_GC64 && !(defined(LUAJIT_USE_VALGRIND) && defined(LUAJIT_USE_SYSMALLOC))
 LJ_FUNC lua_State *lj_state_newstate(lua_Alloc f, void *ud);
 #endif