From c3ade7f48a479ff29d2265a6ba754d9ed56e9120 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 23 Aug 2018 10:42:02 -0700 Subject: [PATCH] fastboot: Use _WIN32 instead of WIN32. Bug: N/A Test: fastboot.exe builds Change-Id: I316611f581c80ec813b953a7e6074293399ab7d7 --- fastboot/fs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastboot/fs.cpp b/fastboot/fs.cpp index b0ac2ef4f..fc6a16bb2 100644 --- a/fastboot/fs.cpp +++ b/fastboot/fs.cpp @@ -8,7 +8,7 @@ #include #include #include -#ifndef WIN32 +#ifndef _WIN32 #include #else #include @@ -27,7 +27,7 @@ using android::base::GetExecutableDirectory; using android::base::StringPrintf; using android::base::unique_fd; -#ifdef WIN32 +#ifdef _WIN32 static int exec_cmd(const char* path, const char** argv, const char** envp) { std::string cmd; int i = 0;