fastboot: Use _WIN32 instead of WIN32.

Bug: N/A
Test: fastboot.exe builds
Change-Id: I316611f581c80ec813b953a7e6074293399ab7d7
This commit is contained in:
David Anderson 2018-08-23 10:42:02 -07:00
parent 1738693f00
commit c3ade7f48a

View file

@ -8,7 +8,7 @@
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#ifndef WIN32
#ifndef _WIN32
#include <sys/wait.h>
#else
#include <tchar.h>
@ -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;