mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Fix compile error with XInputOnGameInput.h
(cherry picked from commit d766f68cb3
)
This commit is contained in:

committed by
Sam Lantinga

parent
4f2c7328d6
commit
71cd1fa595
@@ -28,6 +28,7 @@
|
||||
#ifdef HAVE_XINPUT_H
|
||||
#if defined(__XBOXONE__) || defined(__XBOXSERIES__)
|
||||
/* Xbox supports an XInput wrapper which is a C++-only header... */
|
||||
#include <math.h> /* Required to compile with recent MSVC... */
|
||||
#include <XInputOnGameInput.h>
|
||||
using namespace XInputOnGameInput;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user