From d4c45efb2bca16b92ffc82e9c24336db003bca82 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 12 Jun 2015 04:39:44 +0200 Subject: [PATCH] Remove useless #undef's for windows now that we have NOMINMAX flag --- apps/openmw/mwgui/class.cpp | 3 --- apps/openmw/mwgui/review.cpp | 3 --- apps/openmw/mwgui/widgets.cpp | 3 --- apps/openmw/mwmechanics/stat.hpp | 3 --- 4 files changed, 12 deletions(-) diff --git a/apps/openmw/mwgui/class.cpp b/apps/openmw/mwgui/class.cpp index 3e8734c71..57cd9ca8e 100644 --- a/apps/openmw/mwgui/class.cpp +++ b/apps/openmw/mwgui/class.cpp @@ -11,9 +11,6 @@ #include "tooltips.hpp" -#undef min -#undef max - namespace { diff --git a/apps/openmw/mwgui/review.cpp b/apps/openmw/mwgui/review.cpp index 12957c2b0..fa07f1020 100644 --- a/apps/openmw/mwgui/review.cpp +++ b/apps/openmw/mwgui/review.cpp @@ -13,9 +13,6 @@ #include "tooltips.hpp" -#undef min -#undef max - namespace { void adjustButtonSize(MyGUI::Button *button) diff --git a/apps/openmw/mwgui/widgets.cpp b/apps/openmw/mwgui/widgets.cpp index 1fa5d9cbf..158d5fd5e 100644 --- a/apps/openmw/mwgui/widgets.cpp +++ b/apps/openmw/mwgui/widgets.cpp @@ -15,9 +15,6 @@ #include "controllers.hpp" -#undef min -#undef max - namespace MWGui { namespace Widgets diff --git a/apps/openmw/mwmechanics/stat.hpp b/apps/openmw/mwmechanics/stat.hpp index ffbc19e15..64cc66520 100644 --- a/apps/openmw/mwmechanics/stat.hpp +++ b/apps/openmw/mwmechanics/stat.hpp @@ -1,9 +1,6 @@ #ifndef GAME_MWMECHANICS_STAT_H #define GAME_MWMECHANICS_STAT_H -#undef min -#undef max - #include #include