]> granicus.if.org Git - clang/commit
[Basic] Define __declspec for cygwin
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 28 May 2015 04:36:18 +0000 (04:36 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 28 May 2015 04:36:18 +0000 (04:36 +0000)
commitcca9c2f618c2998ded1c868d39c9adb63188b7a3
tree5818fc38752995ff8596d1b2701f8a3945a27080
parent81e187390e740a2dd28e0bc3658962061ffdd33b
[Basic] Define __declspec for cygwin

Cygwin (and MinGW) targets define __declspec to __attribute__ unless
-fms-extensions is specified.  It turns out that cygwin headers rely on
the existence of this macro.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238394 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Preprocessor/init.c