mirror of
https://github.com/google/googletest.git
synced 2025-01-04 17:05:40 +08:00
commit
653a435f99
@ -651,7 +651,12 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
|
|||||||
// STLport, provided with the Android NDK, has neither <tr1/tuple> or <tuple>.
|
// STLport, provided with the Android NDK, has neither <tr1/tuple> or <tuple>.
|
||||||
# define GTEST_HAS_TR1_TUPLE 0
|
# define GTEST_HAS_TR1_TUPLE 0
|
||||||
# elif defined(_MSC_VER) && (_MSC_VER >= 1910)
|
# elif defined(_MSC_VER) && (_MSC_VER >= 1910)
|
||||||
// Prevent `warning C4996: 'std::tr1': warning STL4002: The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be REMOVED.`
|
// Prevent `warning C4996: 'std::tr1': warning STL4002:
|
||||||
|
// The non-Standard std::tr1 namespace and TR1-only machinery
|
||||||
|
// are deprecated and will be REMOVED.`
|
||||||
|
# define GTEST_HAS_TR1_TUPLE 0
|
||||||
|
# elif GTEST_LANG_CXX11 && defined(_LIBCPP_VERSION)
|
||||||
|
// libc++ doesn't support TR1.
|
||||||
# define GTEST_HAS_TR1_TUPLE 0
|
# define GTEST_HAS_TR1_TUPLE 0
|
||||||
# else
|
# else
|
||||||
// The user didn't tell us not to do it, so we assume it's OK.
|
// The user didn't tell us not to do it, so we assume it's OK.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user