Skip to content

Commit a13d7e8

Browse files
rohlemjayschwa
andauthored
don't assume windows gaming input available for mingw (#18)
Co-authored-by: Jay Petacat <[email protected]>
1 parent 33bb457 commit a13d7e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/SDL_config_windows.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ typedef unsigned int uintptr_t;
9393
#define HAVE_DXGI_H 1
9494
#define HAVE_XINPUT_H 1
9595
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0A00 /* Windows 10 SDK */
96+
#if !defined(__MINGW32__) /* Header removed from Zig 0.14.0-dev in https://github.com/ziglang/zig/pull/22156 */
9697
#define HAVE_WINDOWS_GAMING_INPUT_H 1
9798
#endif
99+
#endif
98100
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0602 /* Windows 8 SDK */
99101
#define HAVE_D3D11_H 1
100102
#if !defined(_MSC_VER)

0 commit comments

Comments
 (0)