diff options
author | Peter Kasting <pkasting@google.com> | 2015-08-27 19:59:06 -0700 |
---|---|---|
committer | Peter Kasting <pkasting@google.com> | 2015-08-27 19:59:06 -0700 |
commit | a1be711e965f0f48faf84080319e97ddc6032243 (patch) | |
tree | 74d9b671c8e09a5f57685f671000435c9f1ccd0d /src | |
parent | 432771fa24c21ea43a76835a855030112fe33f73 (diff) | |
download | protobuf-a1be711e965f0f48faf84080319e97ddc6032243.tar.gz protobuf-a1be711e965f0f48faf84080319e97ddc6032243.tar.bz2 protobuf-a1be711e965f0f48faf84080319e97ddc6032243.zip |
Try modifying check in hopes of passing upstream build
Diffstat (limited to 'src')
-rwxr-xr-x | src/google/protobuf/stubs/hash.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/google/protobuf/stubs/hash.h b/src/google/protobuf/stubs/hash.h index 2f01be52..f322d722 100755 --- a/src/google/protobuf/stubs/hash.h +++ b/src/google/protobuf/stubs/hash.h @@ -42,8 +42,9 @@ #define GOOGLE_PROTOBUF_HAVE_HASH_SET 1 // Use C++11 unordered_{map|set} if available. -#if ((__cplusplus >= 201103L) && \ - ((__GLIBCXX__ > 20090421) || (_LIBCPP_STD_VER >= 11))) +#if ((_LIBCPP_STD_VER >= 11) || + (((__cplusplus >= 201103L) || defined(__GXX_EXPERIMENTAL_CXX0X)) && + (__GLIBCXX__ > 20090421))) # define GOOGLE_PROTOBUF_HAS_CXX11_HASH // For XCode >= 4.6: the compiler is clang with libc++. |