summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index c48d17fada0..8faf887730a 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -520,6 +520,11 @@
#endif
#define PSAPI_VERSION 1 /* for GetProcessMemoryInfo() */
+/* We don't want the min/max macros */
+#ifdef __WIN__
+#define NOMINMAX
+#endif
+
/*
MySQL features
*/