SDL: remove spoofed SDL_HelperWindow when SDL_VIDEO is off

From 0f061ff154dafb2f65fd882aa69beb119f99318d Mon Sep 17 00:00:00 2001
From: Kyle Sylvestre <[EMAIL REDACTED]>
Date: Sat, 12 Jul 2025 00:46:53 -0400
Subject: [PATCH] remove spoofed SDL_HelperWindow when SDL_VIDEO is off

---
 src/haptic/windows/SDL_dinputhaptic.c     | 4 ----
 src/joystick/windows/SDL_dinputjoystick.c | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/src/haptic/windows/SDL_dinputhaptic.c b/src/haptic/windows/SDL_dinputhaptic.c
index 255aac015d85a..79c4b3501f0cd 100644
--- a/src/haptic/windows/SDL_dinputhaptic.c
+++ b/src/haptic/windows/SDL_dinputhaptic.c
@@ -31,11 +31,7 @@
 /*
  * External stuff.
  */
-#ifdef SDL_VIDEO_DRIVER_WINDOWS
 extern HWND SDL_HelperWindow;
-#else
-static const HWND SDL_HelperWindow = NULL;
-#endif
 
 /*
  * Internal stuff.
diff --git a/src/joystick/windows/SDL_dinputjoystick.c b/src/joystick/windows/SDL_dinputjoystick.c
index a96388239f2e9..f90894ff2f106 100644
--- a/src/joystick/windows/SDL_dinputjoystick.c
+++ b/src/joystick/windows/SDL_dinputjoystick.c
@@ -40,11 +40,7 @@
 #define CONVERT_MAGNITUDE(x) (((x)*10000) / 0x7FFF)
 
 // external variables referenced.
-#ifdef SDL_VIDEO_DRIVER_WINDOWS
 extern HWND SDL_HelperWindow;
-#else
-static const HWND SDL_HelperWindow = NULL;
-#endif
 
 // local variables
 static bool coinitialized = false;