summaryrefslogtreecommitdiffstats
path: root/src/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cc b/src/util.cc
index 5f5d8dc..9f538b9 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -47,7 +47,7 @@ void Fatal(const char* msg, ...) {
vfprintf(stderr, msg, ap);
va_end(ap);
fprintf(stderr, "\n");
-#ifdef WIN32
+#ifdef _WIN32
// On Windows, some tools may inject extra threads.
// exit() may block on locks held by those threads, so forcibly exit.
fflush(stderr);
@@ -235,7 +235,7 @@ const char* SpellcheckString(const string& text, ...) {
return SpellcheckStringV(text, words);
}
-#ifdef WIN32
+#ifdef _WIN32
string GetLastErrorString() {
DWORD err = GetLastError();