summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-01 16:56:01 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-01 17:20:10 (GMT)
commit998e9c10943ef361785e6f15cab1fa61172b1c24 (patch)
tree72a5c04f01d72672586c66ede0e5ec912f65df0d /Tests
parentec31926d24ac2cf9a8aef4cfbcbeaaca0c99b717 (diff)
downloadCMake-998e9c10943ef361785e6f15cab1fa61172b1c24.zip
CMake-998e9c10943ef361785e6f15cab1fa61172b1c24.tar.gz
CMake-998e9c10943ef361785e6f15cab1fa61172b1c24.tar.bz2
WCDH: Add feature portability for thread_local.
AppleClang does not support the cxx_thread_local feature, even though it is based on a Clang version which does support the feature. http://stackoverflow.com/a/23850891/2428389 A possible reason for that is that thread_local might be used as a variable in existing Apple SDK headers. Extend the WriteCompilerDetectionHeader module to generate a define for that feature with portability fallbacks. For the avoidance of making it easy to write code which looks correct but which has odd runtime behavior, don't set the define symbol at all if no equivalent keyword is known.
Diffstat (limited to 'Tests')
0 files changed, 0 insertions, 0 deletions