aboutsummaryrefslogtreecommitdiff
path: root/src/jit
diff options
context:
space:
mode:
authorMike Pall <mike>2020-01-22 02:37:21 +0100
committerMike Pall <mike>2020-01-22 02:37:21 +0100
commit62903bacf4abbb1c6df0f395553eeaf1f68352c6 (patch)
tree5631f2f0a17749f5c3000a7d6ba059d3e82895c9 /src/jit
parent38a5ed4b434618662372c0c1665ed08782f5faa5 (diff)
downloadluajit-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.lua2
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
123extern "C" 123extern "C"
124#endif 124#endif
125#ifdef _WIN32 125#ifdef _WIN32