Prevent include of luajit_rolling.h.

Thanks to Peter Cawley. #1145
This commit is contained in:
Mike Pall
2024-01-31 14:29:23 +01:00
parent e6c0ade97c
commit 14987af80a
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ local function file_write_mod(file, data)
assert(fp:close())
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+)")
if relver then