Extended min max warning to allow undefs

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@634 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-07-31 07:51:30 +00:00
parent a83675a991
commit a2bb45bd0f

View File

@@ -67,11 +67,11 @@
#ifdef WIN32 #ifdef WIN32
# ifdef min # 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 # error min macro active
# endif # endif
# ifdef max # 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 # error max macro active
# endif # endif
#endif #endif