aboutsummaryrefslogtreecommitdiff
path: root/src/gtest/internal/gtest-port.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtest/internal/gtest-port.h')
-rw-r--r--src/gtest/internal/gtest-port.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gtest/internal/gtest-port.h b/src/gtest/internal/gtest-port.h
index 9d65ec83..791dcd27 100644
--- a/src/gtest/internal/gtest-port.h
+++ b/src/gtest/internal/gtest-port.h
@@ -438,11 +438,11 @@ inline size_t GetThreadCount() { return 1; }
// Defines tr1::is_pointer (only needed for Symbian).
-#ifdef __SYMBIAN32__
+#if defined(__SYMBIAN32__) || (defined (__DECCXX) && defined(__osf__))
-// Symbian does not have tr1::type_traits, so we define our own is_pointer
-// These are needed as the Nokia Symbian Compiler cannot decide between
-// const T& and const T* in a function template.
+// Symbian and HP C++ on Tru64 do not have tr1::type_traits, so we define
+// our own is_pointer. These are needed as these compilers cannot decide
+// between const T& and const T* in a function template.
template <bool bool_value>
struct bool_constant {