summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-20 13:38:18 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-20 13:38:18 (GMT)
commitbbbdf54a3569aa97687091b7d6a03d645f8dabcb (patch)
treeabb7ebe12ffea0c399d297a29008949bf2d7df08 /Modules
parent1136b97647ddd5b3eb77122494ee47fa3026a97e (diff)
downloadCMake-bbbdf54a3569aa97687091b7d6a03d645f8dabcb.zip
CMake-bbbdf54a3569aa97687091b7d6a03d645f8dabcb.tar.gz
CMake-bbbdf54a3569aa97687091b7d6a03d645f8dabcb.tar.bz2
Fix KWSys FundamentalType for Universal Binaries
The FundamentalType header needs to know type sizes at preprocessing time. This commit teaches it to avoid using CHECK_TYPE_SIZE because the macro does not work for types whose size varies across architectuers in Mac OS X universal binaries. Fortunately the Mac compilers provide just enough information to detect the needed type sizes during preprocessing. We now use preprocessor macros instead of configuration tests whenever they are available. As a side effect this reduces the number of try-compiles needed with GCC. See issue #9913.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions