Cleans up macro definitions.

This commit is contained in:
zhanyong.wan
2009-02-23 23:21:55 +00:00
parent 3c7868a9a8
commit 0af0709b02
42 changed files with 410 additions and 418 deletions

View File

@@ -34,7 +34,7 @@
#include <gtest/gtest-death-test.h>
#include <gtest/gtest.h>
#ifdef GTEST_HAS_DEATH_TEST
#if GTEST_HAS_DEATH_TEST
#include <stdio.h>
#include <unistd.h>
@@ -45,9 +45,9 @@
// included, or there will be a compiler error. This trick is to
// prevent a user from accidentally including gtest-internal-inl.h in
// his code.
#define GTEST_IMPLEMENTATION
#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
#undef GTEST_IMPLEMENTATION
#undef GTEST_IMPLEMENTATION_
using testing::internal::DeathTest;
using testing::internal::DeathTestFactory;