SDL: fix build against older SDKs after commit 8ebef12.

From 575dadb11dd0022a4ce152a3e9fed943d96fdc4f Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 2 Apr 2022 02:20:02 +0300
Subject: [PATCH] fix build against older SDKs after commit 8ebef12.

---
 src/core/windows/SDL_windows.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/core/windows/SDL_windows.c b/src/core/windows/SDL_windows.c
index 767fa13c407..b48feb15ebe 100644
--- a/src/core/windows/SDL_windows.c
+++ b/src/core/windows/SDL_windows.c
@@ -26,7 +26,14 @@
 #include "SDL_error.h"
 
 #include <objbase.h>    /* for CoInitialize/CoUninitialize (Win32 only) */
+#if defined(HAVE_ROAPI_H)
 #include <roapi.h>      /* For RoInitialize/RoUninitialize (Win32 only) */
+#else
+typedef enum RO_INIT_TYPE {
+  RO_INIT_SINGLETHREADED = 0,
+  RO_INIT_MULTITHREADED  = 1
+} RO_INIT_TYPE;
+#endif
 
 #ifndef _WIN32_WINNT_VISTA
 #define _WIN32_WINNT_VISTA  0x0600
@@ -38,6 +45,10 @@
 #define _WIN32_WINNT_WIN8   0x0602
 #endif
 
+#ifndef LOAD_LIBRARY_SEARCH_SYSTEM32
+#define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800
+#endif
+
 
 /* Sets an error message based on an HRESULT */
 int