Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Define NOMINMAX before including Windows.h

  • Loading branch information...
commit 8f7a08bde07bdf0c83905c209d729b263e09dbf9 1 parent 0af57f6
@navzam navzam authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  src/quser_info.cpp
  2. +1 −0  src/server_thread.cpp
View
1  src/quser_info.cpp
@@ -1,6 +1,7 @@
#include "quser_info.hpp"
#ifdef Q_OS_WIN
+#define NOMINMAX
#include <windows.h>
#else
#include <unistd.h>
View
1  src/server_thread.cpp
@@ -17,6 +17,7 @@
#include <QDir>
#ifdef Q_OS_WIN
+#define NOMINMAX
#include <windows.h>
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.