aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/main/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/main/main.cpp b/examples/main/main.cpp
index ef9e75f..a051fcb 100644
--- a/examples/main/main.cpp
+++ b/examples/main/main.cpp
@@ -23,7 +23,9 @@
#include <unistd.h>
#elif defined (_WIN32)
#define WIN32_LEAN_AND_MEAN
+#ifndef NOMINMAX
#define NOMINMAX
+#endif
#include <windows.h>
#include <signal.h>
#endif