diff options
author | Evan Martin <martine@danga.com> | 2012-01-22 18:22:45 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-01-22 18:22:45 (GMT) |
commit | faac236d26b206cd6a8f4aa6e2bca8a83f0f83fa (patch) | |
tree | bb1354e6bfb55e7540011806f3b511e79a10da63 /src/build_log_test.cc | |
parent | 2ef3a546476987d6565141337c6309e7ae60f9fd (diff) | |
download | Ninja-faac236d26b206cd6a8f4aa6e2bca8a83f0f83fa.zip Ninja-faac236d26b206cd6a8f4aa6e2bca8a83f0f83fa.tar.gz Ninja-faac236d26b206cd6a8f4aa6e2bca8a83f0f83fa.tar.bz2 |
windows: use _WIN32 define everywhere
Rather than mixing use of WIN32 and _WIN32.
Diffstat (limited to 'src/build_log_test.cc')
-rw-r--r-- | src/build_log_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build_log_test.cc b/src/build_log_test.cc index 005b929..c6d6bc3 100644 --- a/src/build_log_test.cc +++ b/src/build_log_test.cc @@ -16,7 +16,7 @@ #include "test.h" -#ifdef WIN32 +#ifdef _WIN32 #include <fcntl.h> #include <share.h> #endif @@ -102,7 +102,7 @@ TEST_F(BuildLogTest, Truncate) { // For all possible truncations of the input file, assert that we don't // crash or report an error when parsing. for (off_t size = statbuf.st_size; size > 0; --size) { -#ifndef WIN32 +#ifndef _WIN32 ASSERT_EQ(0, truncate(kTestFilename, size)); #else int fh; |