[STLPORT]
[reactos.git] / reactos / include / c++ / stlport / stl / config / _windows.h
index ac9856e..c1fe09c 100644 (file)
@@ -99,6 +99,10 @@ extern "C" {
 #      if !defined(WIN32_NO_STATUS)
 #        define WIN32_NO_STATUS
 #      endif
 #      if !defined(WIN32_NO_STATUS)
 #        define WIN32_NO_STATUS
 #      endif
+/* Don't let windows.h define its min and max macros. */
+#      if !defined (NOMINMAX)
+#        define NOMINMAX
+#      endif
 #      include <windef.h>
 
 #ifndef InterlockedIncrement
 #      include <windef.h>
 
 #ifndef InterlockedIncrement