]> granicus.if.org Git - clang/commit
Define __STDC__ in -fms-extensions mode; defining it is consistent with gcc, and...
authorEli Friedman <eli.friedman@gmail.com>
Wed, 19 Oct 2011 23:46:05 +0000 (23:46 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 19 Oct 2011 23:46:05 +0000 (23:46 +0000)
commit85037d987a68b8bc9db22e4e1c18cac80b74ea1c
treea916dda80d417e739b357f109f2c552014826f25
parentd662a79f32b1c17dbb5aafcf5f939ca57360d7aa
Define __STDC__ in -fms-extensions mode; defining it is consistent with gcc, and not defining it causes the system headers on multiple platforms to break with -fms-extensions because they assume the lack of a definition of __STDC__ implies a traditional (pre-ANSI) preprocessor. PR10324 and <rdar://problem/10313809> .

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142554 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/InitPreprocessor.cpp