add NOMINMAX to Windows.h includes

develop
Ben Lubar 2016-05-21 19:54:20 -05:00
parent 700392ba55
commit bfe7a90ec0
2 changed files with 2 additions and 0 deletions

@ -47,6 +47,7 @@ freely, subject to the following restrictions:
#endif #endif
#if defined(_TTHREAD_WIN32_) #if defined(_TTHREAD_WIN32_)
#define NOMINMAX
#ifndef WIN32_LEAN_AND_MEAN #ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#define __UNDEF_LEAN_AND_MEAN #define __UNDEF_LEAN_AND_MEAN

@ -67,6 +67,7 @@ freely, subject to the following restrictions:
// Platform specific includes // Platform specific includes
#if defined(_TTHREAD_WIN32_) #if defined(_TTHREAD_WIN32_)
#define NOMINMAX
#ifndef WIN32_LEAN_AND_MEAN #ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#define __UNDEF_LEAN_AND_MEAN #define __UNDEF_LEAN_AND_MEAN