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/gui/setup_video.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/setup_video.cpp') diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index d72b402b..ea5dc140 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -301,7 +301,7 @@ void Setup_Video::apply() * See http://libsdl.org/cgi/docwiki.cgi/SDL_SetVideoMode */ -#if defined(WIN32) || defined(__APPLE__) +#if defined(_WIN32) || defined(__APPLE__) // checks for opengl usage if (!config.getBoolValue("opengl")) { @@ -327,7 +327,7 @@ void Setup_Video::apply() logger->error(errorMessage.str()); } } -#if defined(WIN32) || defined(__APPLE__) +#if defined(_WIN32) || defined(__APPLE__) } else { -- cgit v1.2.3-70-g09d2