Merge pull request #1759 from alecgrieser/windows-build-port-me-else

Fix Windows build caused by incorrect definition check
This commit is contained in:
A.J. Beamon 2019-06-26 12:35:36 -07:00 committed by GitHub
commit 6f29ac5b91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {