]> granicus.if.org Git - clang/commit
Sink the _GNU_SOURCE definition down into the target configuration,
authorDouglas Gregor <dgregor@apple.com>
Wed, 21 Apr 2010 05:52:38 +0000 (05:52 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 21 Apr 2010 05:52:38 +0000 (05:52 +0000)
commit2b003fd2766914133fa7418e1b368ca171ac4205
tree1c20c6870b37a8109c6f2165b12c0355d87e58e9
parent3fb53bd53037872040396225736914fcb75c1fec
Sink the _GNU_SOURCE definition down into the target configuration,
and only define it where we know we need it---Linux and Cygwin. Thanks
to Chris for the prodding.

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