]> granicus.if.org Git - clang/commit
Darwin: Define __STDC_NO_THREADS__ on Darwin targets
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 27 Apr 2017 01:47:22 +0000 (01:47 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 27 Apr 2017 01:47:22 +0000 (01:47 +0000)
commit6b7fb45df342132973cf828b5802da7cc50838c6
treeec1291d0c7a730b500cc7cb0b2ba414bc67fad83
parent59456511f4bab95ccd3c918dae256f5ec0f8fb39
Darwin: Define __STDC_NO_THREADS__ on Darwin targets

Darwin doesn't support C11 threads.h.  Define `__STDC_NO_THREADS__` so
that users can check for it.

rdar://problem/18461003

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