summaryrefslogtreecommitdiffstats
path: root/src/gtest-death-test.cc
diff options
context:
space:
mode:
authorshiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925>2008-07-31 18:34:08 (GMT)
committershiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925>2008-07-31 18:34:08 (GMT)
commitbf9b4b48dc65adc2edd44175f77b4a7363c59234 (patch)
tree4da8e8084682bbd9121ed76e450ee2074620b59f /src/gtest-death-test.cc
parentdc6ee0e36df772499e5a86ee638f5aae160c1023 (diff)
downloadgoogletest-bf9b4b48dc65adc2edd44175f77b4a7363c59234.zip
googletest-bf9b4b48dc65adc2edd44175f77b4a7363c59234.tar.gz
googletest-bf9b4b48dc65adc2edd44175f77b4a7363c59234.tar.bz2
Makes gtest work on Windows Mobile and Symbian. By Mika Raento.
Diffstat (limited to 'src/gtest-death-test.cc')
-rw-r--r--src/gtest-death-test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtest-death-test.cc b/src/gtest-death-test.cc
index 919fb53..cb0d3cd 100644
--- a/src/gtest-death-test.cc
+++ b/src/gtest-death-test.cc
@@ -34,9 +34,11 @@
#include <gtest/gtest-death-test.h>
#include <gtest/internal/gtest-port.h>
+#ifdef GTEST_HAS_DEATH_TEST
#include <errno.h>
#include <limits.h>
#include <stdarg.h>
+#endif // GTEST_HAS_DEATH_TEST
#include <gtest/gtest-message.h>
#include <gtest/internal/gtest-string.h>