Allow building with older versions of GameInput.h

This commit is contained in:
Sam Lantinga
2024-08-07 17:39:15 -07:00
parent 889a788913
commit 4c3f9159e9
2 changed files with 8 additions and 2 deletions

View File

@@ -1883,8 +1883,6 @@ elseif(WINDOWS)
#include <stdbool.h>
#define COBJMACROS
#include <GameInput.h>
// Requires Windows SDK version 10.0.26100.0 or newer
static GameInputSystemButtons s = GameInputSystemButtonNone;
int main(int argc, char **argv) { return 0; }" HAVE_GAMEINPUT_H
)
check_include_file(dxgi1_6.h HAVE_DXGI1_6_H)