diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-31 16:27:55 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-31 16:27:55 +0000 |
commit | efa2fc7fd8a71afd54841b780829ce57cc487938 (patch) | |
tree | 95a4ccf0c315fb0f8020f3e06c871f97eb44ddd9 /src/gtest-port.cc | |
parent | ab72643353c12b09b1e2f19a371b629102d053b1 (diff) | |
download | gtest-efa2fc7fd8a71afd54841b780829ce57cc487938.tar.gz gtest-efa2fc7fd8a71afd54841b780829ce57cc487938.tar.bz2 gtest-efa2fc7fd8a71afd54841b780829ce57cc487938.tar.xz |
Cleans up the use of GTEST_OS_WINDOWS and _MSC_VER.
git-svn-id: http://googletest.googlecode.com/svn/trunk@233 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'src/gtest-port.cc')
-rw-r--r-- | src/gtest-port.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gtest-port.cc b/src/gtest-port.cc index ef21389..166ff41 100644 --- a/src/gtest-port.cc +++ b/src/gtest-port.cc @@ -62,12 +62,12 @@ namespace testing { namespace internal { -#if GTEST_OS_WINDOWS -// Microsoft does not provide a definition of STDERR_FILENO. +#ifdef _MSC_VER +// MSVC does not provide a definition of STDERR_FILENO. const int kStdErrFileno = 2; #else const int kStdErrFileno = STDERR_FILENO; -#endif // GTEST_OS_WINDOWS +#endif // _MSC_VER #if GTEST_USES_POSIX_RE |