summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal/gtest-port.h
diff options
context:
space:
mode:
authortisi1988 <tisi1988@gmail.com>2018-07-23 08:10:26 (GMT)
committerGitHub <noreply@github.com>2018-07-23 08:10:26 (GMT)
commit1ae4fdb79009322d90c304fd49d4fb625b408823 (patch)
tree6c343daa47b77dffb5b08cf64fe11f4b9fe1b63a /googletest/include/gtest/internal/gtest-port.h
parentde6e079f15b0d1988033fc8203d172f493d08506 (diff)
parent2a151c93c180ac765c27c5f2e37af9366abd4d55 (diff)
downloadgoogletest-1ae4fdb79009322d90c304fd49d4fb625b408823.zip
googletest-1ae4fdb79009322d90c304fd49d4fb625b408823.tar.gz
googletest-1ae4fdb79009322d90c304fd49d4fb625b408823.tar.bz2
Merge branch 'master' into master
Diffstat (limited to 'googletest/include/gtest/internal/gtest-port.h')
-rw-r--r--googletest/include/gtest/internal/gtest-port.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h
index f07b69e..1afe934 100644
--- a/googletest/include/gtest/internal/gtest-port.h
+++ b/googletest/include/gtest/internal/gtest-port.h
@@ -522,11 +522,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
#endif // !defined(GTEST_HAS_STD_STRING)
#ifndef GTEST_HAS_GLOBAL_STRING
-// The user didn't tell us whether ::string is available, so we need
-// to figure it out.
-
# define GTEST_HAS_GLOBAL_STRING 0
-
#endif // GTEST_HAS_GLOBAL_STRING
#ifndef GTEST_HAS_STD_WSTRING
@@ -1218,7 +1214,7 @@ class scoped_ptr {
// Defines RE.
#if GTEST_USES_PCRE
-using ::RE;
+// if used, PCRE is injected by custom/gtest-port.h
#elif GTEST_USES_POSIX_RE || GTEST_USES_SIMPLE_RE
// A simple C++ wrapper for <regex.h>. It uses the POSIX Extended