summaryrefslogtreecommitdiff
path: root/utils/unittest
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-09 20:45:04 +0000
committerChris Lattner <sabre@nondot.org>2010-04-09 20:45:04 +0000
commit21aa347c2816aa8fc635ad05c5ab786234b32c7e (patch)
tree31267a53e38be19682f5395c271d5191c9e2766f /utils/unittest
parent2ebad5ad41bd4630b0ee5ec5bb2594f30557a351 (diff)
downloadllvm-21aa347c2816aa8fc635ad05c5ab786234b32c7e.tar.gz
llvm-21aa347c2816aa8fc635ad05c5ab786234b32c7e.tar.bz2
llvm-21aa347c2816aa8fc635ad05c5ab786234b32c7e.tar.xz
add minix support, patch by Kees van Reeuwijk! PR6797
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/unittest')
-rw-r--r--utils/unittest/googletest/include/gtest/internal/gtest-port.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/unittest/googletest/include/gtest/internal/gtest-port.h b/utils/unittest/googletest/include/gtest/internal/gtest-port.h
index 3e49993bff..20a95c9b2e 100644
--- a/utils/unittest/googletest/include/gtest/internal/gtest-port.h
+++ b/utils/unittest/googletest/include/gtest/internal/gtest-port.h
@@ -227,9 +227,10 @@
// TODO(wan@google.com): uses autoconf to detect whether ::std::wstring
// is available.
-#if defined(GTEST_OS_CYGWIN) || defined(GTEST_OS_SOLARIS) || defined(GTEST_OS_HAIKU)
+#if defined(GTEST_OS_CYGWIN) || defined(GTEST_OS_SOLARIS) || defined(GTEST_OS_HAIKU) || defined(_MINIX)
// At least some versions of cygwin don't support ::std::wstring.
// Solaris' libc++ doesn't support it either.
+// Minix currently doesn't support it either.
#define GTEST_HAS_STD_WSTRING 0
#else
#define GTEST_HAS_STD_WSTRING GTEST_HAS_STD_STRING