diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-06 01:20:15 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-06 01:20:15 +0000 |
commit | c85c0c20322a1f36113cf4d6282908e16ca32669 (patch) | |
tree | ca3c2306a370dda3388a4cbd34d22331debaec87 /src/gtest-filepath.cc | |
parent | 4cd62602913a032a7aec091d4c8055ff9af95e37 (diff) | |
download | gtest-c85c0c20322a1f36113cf4d6282908e16ca32669.tar.gz gtest-c85c0c20322a1f36113cf4d6282908e16ca32669.tar.bz2 gtest-c85c0c20322a1f36113cf4d6282908e16ca32669.tar.xz |
Implements death tests on Windows (by Vlad Losev); enables POSIX regex on Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX.
git-svn-id: http://googletest.googlecode.com/svn/trunk@198 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'src/gtest-filepath.cc')
-rw-r--r-- | src/gtest-filepath.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gtest-filepath.cc b/src/gtest-filepath.cc index e590801..32fd3bc 100644 --- a/src/gtest-filepath.cc +++ b/src/gtest-filepath.cc @@ -48,6 +48,7 @@ #include <limits.h> #include <sys/stat.h> // NOLINT #include <unistd.h> // NOLINT +#include <climits> // Some Linux distributions define PATH_MAX here. #endif // _WIN32_WCE or _WIN32 #if GTEST_OS_WINDOWS |