mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
parent
e6c0ade97c
commit
14987af80a
@ -29,7 +29,7 @@ local function file_write_mod(file, data)
|
|||||||
assert(fp:close())
|
assert(fp:close())
|
||||||
end
|
end
|
||||||
|
|
||||||
local text = file_read(FILE_ROLLING_H)
|
local text = file_read(FILE_ROLLING_H):gsub("#error.-\n", "")
|
||||||
local relver = file_read(FILE_RELVER_TXT):match("(%d+)")
|
local relver = file_read(FILE_RELVER_TXT):match("(%d+)")
|
||||||
|
|
||||||
if relver then
|
if relver then
|
||||||
|
@ -67,4 +67,5 @@ LUA_API int luaJIT_setmode(lua_State *L, int idx, int mode);
|
|||||||
/* Enforce (dynamic) linker error for version mismatches. Call from main. */
|
/* Enforce (dynamic) linker error for version mismatches. Call from main. */
|
||||||
LUA_API void LUAJIT_VERSION_SYM(void);
|
LUA_API void LUAJIT_VERSION_SYM(void);
|
||||||
|
|
||||||
|
#error "DO NOT USE luajit_rolling.h -- only include build-generated luajit.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user