diff options
Diffstat (limited to 'net/spdy/spdy_protocol_test.cc')
-rw-r--r-- | net/spdy/spdy_protocol_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/spdy/spdy_protocol_test.cc b/net/spdy/spdy_protocol_test.cc index e6e378f..dbc00db 100644 --- a/net/spdy/spdy_protocol_test.cc +++ b/net/spdy/spdy_protocol_test.cc @@ -238,7 +238,7 @@ TEST(SpdyProtocolDeathTest, TestDataFrame) { frame.set_stream_id(0); // TODO(mbelshe): implement EXPECT_DEBUG_DEATH on windows. -#ifndef WIN32 +#if !defined(WIN32) && defined(GTEST_HAS_DEATH_TEST) #if !defined(DCHECK_ALWAYS_ON) EXPECT_DEBUG_DEATH(frame.set_stream_id(~0), ""); #else @@ -248,7 +248,7 @@ TEST(SpdyProtocolDeathTest, TestDataFrame) { EXPECT_FALSE(frame.is_control_frame()); frame.set_flags(0); -#ifndef WIN32 +#if !defined(WIN32) && defined(GTEST_HAS_DEATH_TEST) #if !defined(DCHECK_ALWAYS_ON) EXPECT_DEBUG_DEATH(frame.set_length(~0), ""); #else |