Fix detection of MacOSX SDKs older than 10.10 https://github.com/DOCGroup/ACE_TAO/pull/2260 --- ace/config-macosx.h.orig +++ ace/config-macosx.h @@ -12,24 +12,24 @@ #include "config-macosx-elcapitan.h" #elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 101000 #include "config-macosx-yosemite.h" -#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 100900 +#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090 #include "config-macosx-mavericks.h" -#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 100800 +#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1080 #include "config-macosx-mountainlion.h" -#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 100700 +#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 #include "config-macosx-lion.h" -#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 100600 +#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 #include "config-macosx-snowleopard.h" -#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 100500 +#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1050 #include "config-macosx-leopard.h" -#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 100400 +#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1040 #include "config-macosx-tiger.h" -#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 100300 +#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 #include "config-macosx-panther.h" -#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 100200 +#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1020 #include "config-macosx-jaguar.h" #else -#error Cannot detect MacOSX version +#error Cannot detect MacOSX SDK version #endif #endif // ACE_CONFIG_MACOSX_ALL_H