From 504af5216bb7799281ad8330f9d2531b40511261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 14 Dec 2014 16:47:01 -0800 Subject: [PATCH] Fix. --- src/renderdoc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)