diff options
author | Elliott Hughes <enh@google.com> | 2016-10-05 09:44:48 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-10-05 09:44:48 -0700 |
commit | 1eb2f5433461ad437e7dfedca32ce7bf5f09fd21 (patch) | |
tree | a883e56ea9ac15e201226e03f776a502e6368611 /f2fs_utils | |
parent | 0a2b8b5ba2388626424abf88f36553212dd8b2d9 (diff) | |
download | extras-1eb2f5433461ad437e7dfedca32ce7bf5f09fd21.tar.gz |
Test for _WIN32 in system/extras instead of USE_MINGW.
Bug: http://b/23392815
Test: builds
Change-Id: Ide007c7ac8414a82548cc99fe384c7de9ba7494b
Diffstat (limited to 'f2fs_utils')
-rw-r--r-- | f2fs_utils/f2fs_ioutils.c | 2 | ||||
-rw-r--r-- | f2fs_utils/make_f2fs_main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/f2fs_utils/f2fs_ioutils.c b/f2fs_utils/f2fs_ioutils.c index 01efd53f..4c120966 100644 --- a/f2fs_utils/f2fs_ioutils.c +++ b/f2fs_utils/f2fs_ioutils.c @@ -51,7 +51,7 @@ struct selabel_handle; #include "make_f2fs.h" -#ifdef USE_MINGW +#ifdef _WIN32 #include <winsock2.h> diff --git a/f2fs_utils/make_f2fs_main.c b/f2fs_utils/make_f2fs_main.c index 1e0dd876..bceb23cd 100644 --- a/f2fs_utils/make_f2fs_main.c +++ b/f2fs_utils/make_f2fs_main.c @@ -29,7 +29,7 @@ #include "make_f2fs.h" -#ifndef USE_MINGW /* O_BINARY is windows-specific flag */ +#ifndef _WIN32 /* O_BINARY is windows-specific flag */ #define O_BINARY 0 #endif |