summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-11-21 23:44:48 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-11-21 23:44:49 -0800
commit7ade7a8603c2bb3cbf3bbfb9c43fd7acde721802 (patch)
tree67d755869eef0c5684c0a59e1f046f134e3e4dd2
parent9eb34c2c9e4ce4005e04dcc85dd7705fb92ca45a (diff)
Clarify the intention of the include guard
This was a leftover of 27d5af59a359909e0d434459c30cfc0940f60a5b.
-rw-r--r--mjit_worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mjit_worker.c b/mjit_worker.c
index 83535cd..d376134 100644
--- a/mjit_worker.c
+++ b/mjit_worker.c
@@ -1046,7 +1046,7 @@ compile_prelude(FILE *f)
const char *s = pch_file;
const char *e = header_name_end(s);
-# ifndef _MSC_VER // Visual Studio doesn't expect macro changes around headers. Anyway we don't support compaction there...
+# if USE_JIT_COMPACTION
fprintf(f, "#ifndef MJIT_PCH\n");
fprintf(f, "#define MJIT_PCH\n");
# endif
@@ -1060,7 +1060,7 @@ compile_prelude(FILE *f)
fputc(*s, f);
}
fprintf(f, "\"\n");
-# ifndef _MSC_VER
+# if USE_JIT_COMPACTION
fprintf(f, "#endif\n");
# endif
#endif