From 7c164375a4ed4cc8057bf127c71e170b92774363 Mon Sep 17 00:00:00 2001 From: Miguel Fernandez Date: Mon, 24 Dec 2018 18:49:53 +0000 Subject: [PATCH] Moved NoMinMax inside _MSC_VER --- client/TracyProfiler.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index ecbb18a0..53f71078 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -1,13 +1,12 @@ #ifdef TRACY_ENABLE -#ifndef NOMINMAX - #define NOMINMAX -#endif - #ifdef _MSC_VER # include # include # include +# ifndef NOMINMAX +# define NOMINMAX +# endif #else # include #endif