Moved NoMinMax inside _MSC_VER

This commit is contained in:
Miguel Fernandez 2018-12-24 18:49:53 +00:00
parent 51bdb004f9
commit 7c164375a4

View File

@ -1,13 +1,12 @@
#ifdef TRACY_ENABLE #ifdef TRACY_ENABLE
#ifndef NOMINMAX
#define NOMINMAX
#endif
#ifdef _MSC_VER #ifdef _MSC_VER
# include <winsock2.h> # include <winsock2.h>
# include <windows.h> # include <windows.h>
# include <tlhelp32.h> # include <tlhelp32.h>
# ifndef NOMINMAX
# define NOMINMAX
# endif
#else #else
# include <sys/time.h> # include <sys/time.h>
#endif #endif