From 78fdc24292341e122bdf58828f68c95ef2ec5380 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 24 Aug 2012 07:29:59 +0000 Subject: [PATCH] Win32 compilation. --- src/Plot2d/Plot2d_ViewFrame.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index 0e81b397b..b9fd235cf 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -154,6 +154,16 @@ const char* imageCrossCursor[] = { "................................", "................................", "................................"}; + +#ifdef WIN32 + #ifdef max + #undef max + #endif + + #ifdef min + #undef min + #endif +#endif /*! Constructor -- 2.39.2