From a2bb45bd0fd7ac27b6d6b522da03f6ba4688339e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 31 Jul 2012 07:51:30 +0000 Subject: [PATCH] Extended min max warning to allow undefs git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@634 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/System/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Core/System/config.h b/src/OpenMesh/Core/System/config.h index fc7bfdcd..928e0e4d 100644 --- a/src/OpenMesh/Core/System/config.h +++ b/src/OpenMesh/Core/System/config.h @@ -67,11 +67,11 @@ #ifdef WIN32 # ifdef min -# pragma message("Detected min macro! OpenMesh does not compiled with min/max macros active! Please add a define NOMINMAX to your compiler flags !") +# pragma message("Detected min macro! OpenMesh does not compiled with min/max macros active! Please add a define NOMINMAX to your compiler flags or add #undef min before including OpenMesh headers !") # error min macro active # endif # ifdef max -# pragma message("Detected max macro! OpenMesh does not compiled with min/max macros active! Please add a define NOMINMAX to your compiler flags !") +# pragma message("Detected max macro! OpenMesh does not compiled with min/max macros active! Please add a define NOMINMAX to your compiler flags or add #undef max before including OpenMesh headers !") # error max macro active # endif #endif