From 7386fd04428c8fed65745834f839bab5720baa0f Mon Sep 17 00:00:00 2001 From: gugus Date: Sat, 19 Feb 2011 19:21:32 +0100 Subject: [PATCH] solve error with min/max macro for windows --- apps/openmw/mwgui/class.cpp | 3 +++ apps/openmw/mwgui/review.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/apps/openmw/mwgui/class.cpp b/apps/openmw/mwgui/class.cpp index feabddd055..d4ab74a98b 100644 --- a/apps/openmw/mwgui/class.cpp +++ b/apps/openmw/mwgui/class.cpp @@ -10,6 +10,9 @@ #include #include +#undef min +#undef max + using namespace MWGui; /* GenerateClassResultDialog */ diff --git a/apps/openmw/mwgui/review.cpp b/apps/openmw/mwgui/review.cpp index 74632134a1..c165d942e8 100644 --- a/apps/openmw/mwgui/review.cpp +++ b/apps/openmw/mwgui/review.cpp @@ -10,6 +10,9 @@ #include +#undef min +#undef max + using namespace MWGui; using namespace Widgets;