aboutsummaryrefslogtreecommitdiffstats
path: root/include/gmock/internal/gmock-port.h
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2010-01-14 05:36:32 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2010-01-14 05:36:32 +0000
commitd14aaed74b2a8a1222d60d8fa3afcfc93a21c321 (patch)
treecf118668b44f1b3914c22003d763bb58504a37eb /include/gmock/internal/gmock-port.h
parent6953a725fc2151eff18078f8315d92811cd4d90e (diff)
downloadgoogletest-d14aaed74b2a8a1222d60d8fa3afcfc93a21c321.tar.gz
googletest-d14aaed74b2a8a1222d60d8fa3afcfc93a21c321.tar.bz2
googletest-d14aaed74b2a8a1222d60d8fa3afcfc93a21c321.zip
Enables regex matchers on all platforms.
Diffstat (limited to 'include/gmock/internal/gmock-port.h')
-rw-r--r--include/gmock/internal/gmock-port.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/gmock/internal/gmock-port.h b/include/gmock/internal/gmock-port.h
index 27b67a5c..30115f23 100644
--- a/include/gmock/internal/gmock-port.h
+++ b/include/gmock/internal/gmock-port.h
@@ -52,26 +52,8 @@
#if GTEST_OS_LINUX
-// On some platforms, <regex.h> needs someone to define size_t, and
-// won't compile otherwise. We can #include it here as we already
-// included <stdlib.h>, which is guaranteed to define size_t through
-// <stddef.h>.
-#include <regex.h> // NOLINT
-
-// Defines this iff Google Mock uses the enhanced POSIX regular
-// expression syntax. This is public as it affects how a user uses
-// regular expression matchers.
-#define GMOCK_USES_POSIX_RE 1
-
#endif // GTEST_OS_LINUX
-#if defined(GMOCK_USES_PCRE) || defined(GMOCK_USES_POSIX_RE)
-// Defines this iff regular expression matchers are supported. This
-// is public as it tells a user whether he can use regular expression
-// matchers.
-#define GMOCK_HAS_REGEX 1
-#endif // defined(GMOCK_USES_PCRE) || defined(GMOCK_USES_POSIX_RE)
-
namespace testing {
namespace internal {