Browse Source

Fix the build

Panagiotis Christopoulos Charitos 6 months ago
parent
commit
87687055aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AnKi/Util/Tracer.cpp

+ 1 - 1
AnKi/Util/Tracer.cpp

@@ -10,7 +10,7 @@
 #if ANKI_OS_ANDROID
 #	include <ThirdParty/StreamlineAnnotate/streamline_annotate.h>
 #endif
-#if ANKI_GR_BACKEND_DIRECT3D
+#if ANKI_GR_BACKEND_DIRECT3D && ANKI_TRACING_ENABLED
 #	if !defined(WIN32_LEAN_AND_MEAN)
 #		define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers.
 #	endif