From 51bdb004f9a16b813c9794b8b898e16ca5d69e06 Mon Sep 17 00:00:00 2001 From: Miguel Fernandez Date: Mon, 24 Dec 2018 15:26:50 +0000 Subject: [PATCH] Avoid conflicts with min/max macros --- client/TracyProfiler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 6d50aebb..ecbb18a0 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -1,5 +1,9 @@ #ifdef TRACY_ENABLE +#ifndef NOMINMAX + #define NOMINMAX +#endif + #ifdef _MSC_VER # include # include