Removed mingw-gcc warnings
[libcds.git] / cds / os / win / topology.h
index e427cc8acda85ba1f9bbbc73c7592ed607d0c981..4bda959459235963dcae52d4b9bb3cc85767607a 100644 (file)
@@ -8,7 +8,9 @@
 #endif
 
 #include <cds/details/defs.h>
-#define NOMINMAX
+#ifndef NOMINMAX
+#   define NOMINMAX
+#endif
 #include <windows.h>
 
 namespace cds { namespace OS {