SDL: VC+d3d12: spread test for __has_include and d3d12.h test over multiple lines

From ddb826d1a06d11b3f25f4f2981f491b284a96e79 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 27 May 2024 03:02:10 +0200
Subject: [PATCH] VC+d3d12: spread test for __has_include and d3d12.h test over
 multiple lines

---
 include/build_config/SDL_build_config_windows.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/build_config/SDL_build_config_windows.h b/include/build_config/SDL_build_config_windows.h
index 432036e09bf51..b8434600fcd73 100644
--- a/include/build_config/SDL_build_config_windows.h
+++ b/include/build_config/SDL_build_config_windows.h
@@ -92,9 +92,11 @@ typedef unsigned int uintptr_t;
 #define HAVE_D3D11_H 1
 #define HAVE_ROAPI_H 1
 #endif
-#if defined(__has_include) && __has_include(<d3d12.h>) && __has_include(<d3d12sdklayers.h>)
+#if defined(__has_include)
+#if __has_include(<d3d12.h>) && __has_include(<d3d12sdklayers.h>)
 #define HAVE_D3D12_H 1
 #endif
+#endif
 #if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0603  /* Windows 8.1 SDK */
 #define HAVE_SHELLSCALINGAPI_H 1
 #endif