From 26d4e3e4c4c539d08232ca3392e6785b7b4d0e49 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 20 Jul 2020 20:07:06 -0400 Subject: [PATCH] d3d11: Only build the D3D11 glue code on Windows. --- mojoshader_d3d11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mojoshader_d3d11.c b/mojoshader_d3d11.c index 2732e62c..a3f924c0 100644 --- a/mojoshader_d3d11.c +++ b/mojoshader_d3d11.c @@ -10,7 +10,6 @@ #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN 1 #include // Include this early to avoid SDL conflicts -#endif #define __MOJOSHADER_INTERNAL__ 1 #include "mojoshader_internal.h" @@ -912,5 +911,6 @@ const char *MOJOSHADER_d3d11GetError(void) } // MOJOSHADER_d3d11GetError #endif /* SUPPORT_PROFILE_HLSL */ +#endif /* _WIN32 */ // end of mojoshader_d3d11.c ...