From e7b71f29a5468bd75aeaa57596f441a1d2bf51fd Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 17 Jul 2018 21:26:31 +0200 Subject: [PATCH] Define WIN32_LEAN_AND_MEAN in TracyClient.cpp. --- TracyClient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TracyClient.cpp b/TracyClient.cpp index 17b14ccd..422f999d 100644 --- a/TracyClient.cpp +++ b/TracyClient.cpp @@ -9,6 +9,10 @@ // Define TRACY_ENABLE to enable profiler. +#if ( defined _MSC_VER || defined __CYGWIN__ ) && !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif + #include "common/TracySystem.cpp" #ifdef TRACY_ENABLE