Skip to content

Commit 1abc653

Browse files
marsupialsftnight
authored andcommitted
Windows: Don’t enable GNU keywords by default.
1 parent 66ba7a8 commit 1abc653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Interpreter/CIFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ namespace {
418418
#endif
419419

420420
if (CompilerOpts.DefaultLanguage(Opts)) {
421-
#ifdef __STRICT_ANSI__
421+
#ifdef __STRICT_ANSI__ || defined(LLVM_ON_WIN32)
422422
Opts.GNUMode = 0;
423423
#else
424424
Opts.GNUMode = 1;

0 commit comments

Comments
 (0)