SDL: Fixed building with older Windows SDK

From f00ecf5f190feb6db0727b0c93f7a609f70be76d Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 5 Dec 2023 11:00:18 -0800
Subject: [PATCH] Fixed building with older Windows SDK

---
 src/video/windows/SDL_windowsevents.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c
index 4c2bb0be1e9b..751b32246d1e 100644
--- a/src/video/windows/SDL_windowsevents.c
+++ b/src/video/windows/SDL_windowsevents.c
@@ -95,6 +95,14 @@
 #define TOUCHEVENTF_PEN 0x0040
 #endif
 
+#ifndef MAPVK_VK_TO_VSC_EX
+#define MAPVK_VK_TO_VSC_EX 4
+#endif
+
+#ifndef WC_ERR_INVALID_CHARS
+#define WC_ERR_INVALID_CHARS 0x00000080
+#endif
+
 #ifndef IS_HIGH_SURROGATE
 #define IS_HIGH_SURROGATE(x) (((x) >= 0xd800) && ((x) <= 0xdbff))
 #endif