Fixed ABSL_INTERNAL_MACOS_CXX17_TYPES_UNAVAILABLE check

This commit is contained in:
Joe Sylve 2019-06-25 16:57:48 -05:00
parent 74d91756c1
commit 5fc0bf69e7

View file

@ -375,7 +375,7 @@
// https://github.com/abseil/abseil-cpp/issues/207 and // https://github.com/abseil/abseil-cpp/issues/207 and
// https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes // https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes
#if defined(__APPLE__) && defined(_LIBCPP_VERSION) && \ #if defined(__APPLE__) && defined(_LIBCPP_VERSION) && \
defined(__MAC_OS_X_VERSION_MIN_REQUIRED__) && \ defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && \
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 101400 __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 101400
#define ABSL_INTERNAL_MACOS_CXX17_TYPES_UNAVAILABLE 1 #define ABSL_INTERNAL_MACOS_CXX17_TYPES_UNAVAILABLE 1
#else #else