Include GameInput.h as gameinput.h for compatibility with non-MSVC toolchains

This commit is contained in:
Sam Lantinga
2024-08-07 17:52:05 -07:00
parent 4c3f9159e9
commit b5b868044f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1882,7 +1882,7 @@ elseif(WINDOWS)
check_c_source_compiles(" check_c_source_compiles("
#include <stdbool.h> #include <stdbool.h>
#define COBJMACROS #define COBJMACROS
#include <GameInput.h> #include <gameinput.h>
int main(int argc, char **argv) { return 0; }" HAVE_GAMEINPUT_H int main(int argc, char **argv) { return 0; }" HAVE_GAMEINPUT_H
) )
check_include_file(dxgi1_6.h HAVE_DXGI1_6_H) check_include_file(dxgi1_6.h HAVE_DXGI1_6_H)
+1 -1
View File
@@ -27,7 +27,7 @@
#include <stdbool.h> #include <stdbool.h>
#define COBJMACROS #define COBJMACROS
#include <GameInput.h> #include <gameinput.h>
enum enum
{ {
+1 -1
View File
@@ -26,7 +26,7 @@
#include <stdbool.h> #include <stdbool.h>
#define COBJMACROS #define COBJMACROS
#include <GameInput.h> #include <gameinput.h>
#include "../../events/SDL_mouse_c.h" #include "../../events/SDL_mouse_c.h"
#include "../../events/SDL_keyboard_c.h" #include "../../events/SDL_keyboard_c.h"