use _WIN32 to determine platform instead of __WIN32__
This commit is contained in:
parent
b92e6b09ad
commit
e5d02b7ad4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue