Add missing NOMINMAX definitions.

This commit is contained in:
Bartosz Taudul 2019-10-10 20:29:06 +02:00
parent d4620b4157
commit 707f113bda
3 changed files with 10 additions and 0 deletions

View File

@ -5,6 +5,9 @@
#ifdef TRACY_HAS_CALLSTACK
#if TRACY_HAS_CALLSTACK == 1
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <windows.h>
# ifdef _MSC_VER
# pragma warning( push )

View File

@ -4,6 +4,10 @@
# if defined _WIN32 || defined __CYGWIN__
# ifndef NOMINMAX
# define NOMINMAX
# endif
# define INITGUID
# include <assert.h>
# include <string.h>

View File

@ -10,6 +10,9 @@
#include "TracySocket.hpp"
#ifdef _WIN32
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <winsock2.h>
# include <ws2tcpip.h>
# ifdef _MSC_VER