diff options
author | Mike Pall <mike> | 2020-01-22 02:37:21 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2020-01-22 02:37:21 +0100 |
commit | 62903bacf4abbb1c6df0f395553eeaf1f68352c6 (patch) | |
tree | 5631f2f0a17749f5c3000a7d6ba059d3e82895c9 /src/jit | |
parent | 38a5ed4b434618662372c0c1665ed08782f5faa5 (diff) | |
download | luajit-62903bacf4abbb1c6df0f395553eeaf1f68352c6.tar.gz luajit-62903bacf4abbb1c6df0f395553eeaf1f68352c6.tar.bz2 luajit-62903bacf4abbb1c6df0f395553eeaf1f68352c6.zip |
Fix C file generation in jit.bcsave.
Thanks to codicodi.
Diffstat (limited to 'src/jit')
-rw-r--r-- | src/jit/bcsave.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/bcsave.lua b/src/jit/bcsave.lua index 6c6ba86e..58351c16 100644 --- a/src/jit/bcsave.lua +++ b/src/jit/bcsave.lua | |||
@@ -119,7 +119,7 @@ local function bcsave_c(ctx, output, s) | |||
119 | local fp = savefile(output, "w") | 119 | local fp = savefile(output, "w") |
120 | if ctx.type == "c" then | 120 | if ctx.type == "c" then |
121 | fp:write(string.format([[ | 121 | fp:write(string.format([[ |
122 | #ifdef _cplusplus | 122 | #ifdef __cplusplus |
123 | extern "C" | 123 | extern "C" |
124 | #endif | 124 | #endif |
125 | #ifdef _WIN32 | 125 | #ifdef _WIN32 |