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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user