@@ -6,7 +6,7 @@
#ifndef __RENDERER_D3D_H__
#define __RENDERER_D3D_H__
-#if BGFX_CONFIG_DEBUG && BGFX_CONFIG_RENDERER_DIRECT3D9
+#if BGFX_CONFIG_DEBUG && BGFX_CONFIG_RENDERER_DIRECT3D9 && !(BX_COMPILER_GCC || BX_COMPILER_CLANG)
# include <sal.h>
# include <dxerr.h>
# if BX_COMPILER_MSVC