Ports gtest to C++Builder, by Josh Kelley.

This commit is contained in:
zhanyong.wan
2009-04-28 00:28:09 +00:00
parent f2334aa195
commit c78ae6196d
13 changed files with 810 additions and 203 deletions

View File

@@ -68,8 +68,8 @@
namespace testing {
namespace internal {
#ifdef _MSC_VER
// MSVC does not provide a definition of STDERR_FILENO.
#if defined(_MSC_VER) || defined(__BORLANDC__)
// MSVC and C++Builder do not provide a definition of STDERR_FILENO.
const int kStdErrFileno = 2;
#else
const int kStdErrFileno = STDERR_FILENO;