summaryrefslogtreecommitdiff
path: root/include/gtest/gtest.h
diff options
context:
space:
mode:
authorshiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925>2008-07-08 21:32:17 +0000
committershiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925>2008-07-08 21:32:17 +0000
commit752c403d4b79a60bed6f153c8408020be9f3cb6e (patch)
tree08e242f8835e0688031e27305c5d58c24282f2e7 /include/gtest/gtest.h
parent4b6829f0d28990dd645e16386eb226d0f10c8731 (diff)
downloadgtest-752c403d4b79a60bed6f153c8408020be9f3cb6e.tar.gz
gtest-752c403d4b79a60bed6f153c8408020be9f3cb6e.tar.bz2
gtest-752c403d4b79a60bed6f153c8408020be9f3cb6e.tar.xz
Makes the autotools scripts work on Mac OS X. Also hopefully makes gtest compile on Windows CE.
git-svn-id: http://googletest.googlecode.com/svn/trunk@54 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'include/gtest/gtest.h')
-rw-r--r--include/gtest/gtest.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/gtest/gtest.h b/include/gtest/gtest.h
index 8e857c8..2464f72 100644
--- a/include/gtest/gtest.h
+++ b/include/gtest/gtest.h
@@ -62,26 +62,11 @@
// Windows proper with Visual C++ and MS C library (_MSC_VER && !_WIN32_WCE) and
// Windows Mobile with Visual C++ and no C library (_WIN32_WCE).
-#if defined(__APPLE__) && !defined(GTEST_NOT_MAC_FRAMEWORK_MODE)
-// When using Google Test on the Mac as a framework, all the includes
-// will be in the framework headers folder along with gtest.h. Define
-// GTEST_NOT_MAC_FRAMEWORK_MODE if you are building Google Test on the
-// Mac and are not using it as a framework. More info on frameworks
-// available here:
-// http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/
-// Concepts/WhatAreFrameworks.html.
-#include "gtest-death-test.h" // NOLINT
-#include "gtest-internal.h" // NOLINT
-#include "gtest-message.h" // NOLINT
-#include "gtest-string.h" // NOLINT
-#include "gtest_prod.h" // NOLINT
-#else
#include <gtest/internal/gtest-internal.h>
#include <gtest/internal/gtest-string.h>
#include <gtest/gtest-death-test.h>
#include <gtest/gtest-message.h>
#include <gtest/gtest_prod.h>
-#endif // defined(__APPLE__) && !defined(GTEST_NOT_MAC_FRAMEWORK_MODE)
// Depending on the platform, different string classes are available.
// On Windows, ::std::string compiles only when exceptions are
@@ -964,18 +949,7 @@ class AssertHelper {
// Includes the auto-generated header that implements a family of
// generic predicate assertion macros.
-#if defined(__APPLE__) && !defined(GTEST_NOT_MAC_FRAMEWORK_MODE)
-// When using Google Test on the Mac as a framework, all the includes will be
-// in the framework headers folder along with gtest.h.
-// Define GTEST_NOT_MAC_FRAMEWORK_MODE if you are building Google Test on
-// the Mac and are not using it as a framework.
-// More info on frameworks available here:
-// http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/
-// Concepts/WhatAreFrameworks.html.
-#include "gtest_pred_impl.h" // NOLINT
-#else
#include <gtest/gtest_pred_impl.h>
-#endif // defined(__APPLE__) && !defined(GTEST_NOT_MAC_FRAMEWORK_MODE)
// Macros for testing equalities and inequalities.
//