]> granicus.if.org Git - clang/commit
Basic: match GCC behaviour for SuS macro
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 5 Feb 2017 22:18:15 +0000 (22:18 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 5 Feb 2017 22:18:15 +0000 (22:18 +0000)
commite11d70efe73d57e9a794bad46e7921c506012241
treef91ff1ff84f392265f7e677b30ff7c5772efa6f6
parent80283fe1d92762e2e6a0b38e9cfa357845a810bc
Basic: match GCC behaviour for SuS macro

GCC does not generate `__unix` nor `unix` macros.  The latter already
intrudes into the user's namespace and should be avoided.  Use the
canonical spelling of `__unix__` across all the targets.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294148 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Driver/le32-unknown-nacl.cpp
test/Driver/le64-unknown-unknown.cpp
test/Driver/mipsel-nacl-defines.cpp
test/Driver/x86_64-nacl-defines.cpp
test/Preprocessor/init.c