mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Fix C file generation in jit.bcsave.
Thanks to codicodi.
This commit is contained in:
parent
38a5ed4b43
commit
62903bacf4
@ -119,7 +119,7 @@ local function bcsave_c(ctx, output, s)
|
|||||||
local fp = savefile(output, "w")
|
local fp = savefile(output, "w")
|
||||||
if ctx.type == "c" then
|
if ctx.type == "c" then
|
||||||
fp:write(string.format([[
|
fp:write(string.format([[
|
||||||
#ifdef _cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
#endif
|
#endif
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
Loading…
Reference in New Issue
Block a user