Ports gtest to C++Builder, by Josh Kelley.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user