From 103170232f519a9555a7807fcadfdbb4f0c85bdc Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Sun, 27 Jun 2021 00:24:35 -0700 Subject: [PATCH] Fixed -Wnonportable-system-include-path when using Windows 10 SDK (20348) --- DirectXTex/DirectXTexP.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DirectXTex/DirectXTexP.h b/DirectXTex/DirectXTexP.h index bb5a223..cae9e99 100644 --- a/DirectXTex/DirectXTexP.h +++ b/DirectXTex/DirectXTexP.h @@ -144,7 +144,11 @@ #include #ifdef WIN32 +#ifdef NTDDI_WIN10_FE +#include +#else #include +#endif #include #include #else