diff --git a/src/renderdoc.cpp b/src/renderdoc.cpp index c6f0a584..c487eb1e 100644 --- a/src/renderdoc.cpp +++ b/src/renderdoc.cpp @@ -5,7 +5,7 @@ #include "bgfx_p.h" -#if BGFX_CONFIG_DEBUG_PIX +#if BGFX_CONFIG_DEBUG_PIX && (BX_PLATFORM_WINDOWS || BX_PLATFORM_LINUX) # if BX_PLATFORM_WINDOWS # include # endif // BX_PLATFORM_WINDOWS @@ -151,4 +151,4 @@ namespace bgfx } // namespace bgfx -#endif // BGFX_CONFIG_DEBUG_PIX +#endif // BGFX_CONFIG_DEBUG_PIX && (BX_PLATFORM_WINDOWS || BX_PLATFORM_LINUX)