From 8954a7ca0f70bbf167c9119d26c7bca8407e8da6 Mon Sep 17 00:00:00 2001 From: Bernd Wachter Date: Mon, 24 Oct 2011 20:28:15 +0300 Subject: Change the wrong, but mostly supported WIN32 macro to the correct _WIN32, enforced by -std=c++0x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Thorbjørn Lindeijer --- src/log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/log.cpp') 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 #elif __APPLE__ #include @@ -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; -- cgit v1.2.3-70-g09d2