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