From dec7875a6e23212021e4d9080330a42832dfe02a Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 15 Jun 2021 01:40:19 +0000
Subject: [PATCH] update SDL soruce to 2.0.14
---
source/src/haptic/windows/SDL_windowshaptic_c.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/source/src/haptic/windows/SDL_windowshaptic_c.h b/source/src/haptic/windows/SDL_windowshaptic_c.h
index 5f00b7e..9048663 100644
--- a/source/src/haptic/windows/SDL_windowshaptic_c.h
+++ b/source/src/haptic/windows/SDL_windowshaptic_c.h
@@ -50,6 +50,7 @@
/*
* Haptic system effect data.
*/
+#if SDL_HAPTIC_DINPUT || SDL_HAPTIC_XINPUT
struct haptic_hweffect
{
#if SDL_HAPTIC_DINPUT
@@ -60,6 +61,7 @@
XINPUT_VIBRATION vibration;
#endif
};
+#endif
/*
* List of available haptic devices.
--
Gitblit v1.9.3