summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2011-10-24 20:28:15 +0300
committerBernd Wachter <bwachter-tmw@lart.info>2011-10-25 13:36:33 +0300
commit8954a7ca0f70bbf167c9119d26c7bca8407e8da6 (patch)
tree5c57e4ee47518bb21ce2f0dc10d5fac963875af7 /src/gui/setup_video.cpp
parent9c5791d3e3b413d8b703f1530f67de8936a3434c (diff)
downloadmana-8954a7ca0f70bbf167c9119d26c7bca8407e8da6.tar.gz
mana-8954a7ca0f70bbf167c9119d26c7bca8407e8da6.tar.bz2
mana-8954a7ca0f70bbf167c9119d26c7bca8407e8da6.tar.xz
mana-8954a7ca0f70bbf167c9119d26c7bca8407e8da6.zip
Change the wrong, but mostly supported WIN32 macro to the correct _WIN32, enforced by -std=c++0x
Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp4
1 files changed, 2 insertions, 2 deletions
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
{