Explorar el Código

Fix amalgamated build.

Mike Pall hace 8 años
padre
commit
202713a638
Se han modificado 1 ficheros con 1 adiciones y 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