diff options
Diffstat (limited to 'src/log.cpp')
-rw-r--r-- | src/log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.cpp b/src/log.cpp index bb8a78bb..f430589b 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -21,7 +21,7 @@ #include "log.h" -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> #elif __APPLE__ #include <Carbon/Carbon.h> @@ -106,7 +106,7 @@ void Logger::log(const char *log_text, ...) void Logger::error(const std::string &error_text) { log("Error: %s", error_text.c_str()); -#ifdef WIN32 +#ifdef _WIN32 MessageBox(NULL, error_text.c_str(), "Error", MB_ICONERROR | MB_OK); #elif defined __APPLE__ Str255 msg; |