fastboot: Use _WIN32 instead of WIN32.
Bug: N/A Test: fastboot.exe builds Change-Id: I316611f581c80ec813b953a7e6074293399ab7d7
This commit is contained in:
parent
1738693f00
commit
c3ade7f48a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue