Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: testing/gmock/include/gmock/internal/gmock-port.h

Issue 140003: Upgrade gtest to r267 and gmock to r173. (Closed)
Patch Set: final fileset. Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: testing/gmock/include/gmock/internal/gmock-port.h
diff --git a/testing/gmock/include/gmock/internal/gmock-port.h b/testing/gmock/include/gmock/internal/gmock-port.h
index 5aa0fd848583c68b2b54344c3f5027f08403a839..9ee8f728e3e85ba80c1c93f2c0fde1d6121629cb 100644
--- a/testing/gmock/include/gmock/internal/gmock-port.h
+++ b/testing/gmock/include/gmock/internal/gmock-port.h
@@ -47,23 +47,8 @@
// To avoid conditional compilation everywhere, we make it
// gmock-port.h's responsibility to #include the header implementing
-// tr1/tuple.
-#if defined(__GNUC__) && GTEST_GCC_VER_ >= 40000
-// GTEST_GCC_VER_ is defined in gtest-port.h and 40000 corresponds to
-// version 4.0.0.
-// GCC 4.0+ implements tr1/tuple in the <tr1/tuple> header. This does
-// not conform to the TR1 spec, which requires the header to be <tuple>.
-#include <tr1/tuple>
-#elif defined(_MSC_VER) && _MSC_VER < 1500
-// For Visual Studio older than 2008, we redirect directly to boost tuple
-// searching from boost's root. This is to avoid extra dirtying of the
-// compiler include paths.
-#include "boost/tr1/tr1/tuple"
-#else
-// If the compiler is neither GCC 4.0+, nor Visual Studio 2008, we assume the
-// user is using a spec-conforming TR1 implementation.
-#include <tuple>
-#endif // __GNUC__
+// tr1/tuple. gmock-port.h does this via gtest-port.h, which is
+// guaranteed to pull in the tuple header.
#if GTEST_OS_LINUX
« no previous file with comments | « testing/gmock/include/gmock/internal/gmock-internal-utils.h ('k') | testing/gmock/include/gmock/internal/gmock-port.h.orig » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698