Skip to content
  • Brad King's avatar
    Fix KWSys FundamentalType for Universal Binaries · bbbdf54a
    Brad King authored
    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.
    bbbdf54a