Skip to content

Commit

Permalink
Clarify the intention of the include guard
Browse files Browse the repository at this point in the history
This was a leftover of 27d5af5.
  • Loading branch information
k0kubun committed Nov 22, 2020
1 parent 9eb34c2 commit 7ade7a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mjit_worker.c
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7ade7a8

Please sign in to comment.