aboutsummaryrefslogtreecommitdiff
path: root/singleapplication_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'singleapplication_p.cpp')
-rw-r--r--singleapplication_p.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/singleapplication_p.cpp b/singleapplication_p.cpp
index 3b41391..7a98116 100644
--- a/singleapplication_p.cpp
+++ b/singleapplication_p.cpp
@@ -57,7 +57,9 @@
#endif
#ifdef Q_OS_WIN
- #define NOMINMAX
+ #ifndef NOMINMAX
+ #define NOMINMAX 1
+ #endif
#include <windows.h>
#include <lmcons.h>
#endif