Permalink
Browse files

add #define NOMINMAX before windows.h includes

  • Loading branch information...
jacob1 committed May 18, 2018
1 parent e8373ff commit 38fac7046a7a5b4837eba968e6c0c1a7e303ee01
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/Platform.cpp
  2. +1 −0 src/Update.cpp
  3. +1 −0 src/client/Client.cpp
@@ -3,6 +3,7 @@
#include <cstdio>
#include <cassert>
#ifdef WIN
#define NOMINMAX
#include <shlobj.h>
#include <shlwapi.h>
#include <windows.h>
@@ -10,6 +10,7 @@
#include <stdint.h>
#ifdef WIN
#define NOMINMAX
#include <windows.h>
#else
#include <unistd.h>
@@ -15,6 +15,7 @@
#endif
#ifdef WIN
#define NOMINMAX
#include <shlobj.h>
#include <shlwapi.h>
#include <windows.h>

0 comments on commit 38fac70

Please sign in to comment.