diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2018-05-15 11:36:00 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2018-05-15 11:36:00 +0000 |
commit | 877d15b396494fae90a7808939aab7fd5ceebfb1 (patch) | |
tree | 401300553ebfb60ae8c945f679fb1087a456ee04 /clang/unittests/Format/FormatTestJava.cpp | |
parent | 8f0ab258bd9701c755946890331ccada29b781b7 (diff) | |
download | llvm-877d15b396494fae90a7808939aab7fd5ceebfb1.zip llvm-877d15b396494fae90a7808939aab7fd5ceebfb1.tar.gz llvm-877d15b396494fae90a7808939aab7fd5ceebfb1.tar.bz2 |
[Solaris] Only define _REENTRANT if -pthread
When looking at lib/Basic/Targets/OSTargets.h, I noticed that _REENTRANT is defined
unconditionally on Solaris, unlike all other targets and what either Studio cc (only define
it with -mt) or gcc (only define it with -pthread) do.
This patch follows that lead.
Differential Revision: https://reviews.llvm.org/D41241
llvm-svn: 332343
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions