use _WIN32 to determine platform instead of __WIN32__

This commit is contained in:
Alec Grieser 2019-06-26 11:55:26 -07:00
parent b92e6b09ad
commit e5d02b7ad4
No known key found for this signature in database
GPG Key ID: CAF63551C60D3462
1 changed files with 1 additions and 1 deletions

View File

@ -2721,7 +2721,7 @@ std::string exePath() {
return std::string(buf.get());
}
}
#elif defined(__WIN32__)
#elif defined(_WIN32)
DWORD bufSize = 1024;
std::unique_ptr<char[]> buf(new char[bufSize]);
while (true) {