diff options
author | Itay Grudev <itay+github.com@grudev.com> | 2020-10-06 16:20:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 16:20:38 +0100 |
commit | 0e42d86cecf008e850bc1f7540196de1f6bf182d (patch) | |
tree | a2f217f92c047c288f764b2f7f4b4a613558ac34 | |
parent | Merge pull request #111 from jonaski/connecttoprimary (diff) | |
parent | Fix build issue with MinGW GCC pedantic mode (diff) | |
download | singleapplication-0e42d86cecf008e850bc1f7540196de1f6bf182d.tar.xz |
Merge pull request #112 from iakov/patch-1
Fix build issue with MinGW GCC pedantic mode
-rw-r--r-- | singleapplication_p.cpp | 4 |
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 |