Skip to content

Commit

Permalink
Include GameInput.h as gameinput.h for compatibility with non-MSVC to…
Browse files Browse the repository at this point in the history
…olchains
  • Loading branch information
slouken committed Aug 8, 2024
1 parent 4c3f915 commit b5b8680
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1882,7 +1882,7 @@ elseif(WINDOWS)
check_c_source_compiles("
#include <stdbool.h>
#define COBJMACROS
#include <GameInput.h>
#include <gameinput.h>
int main(int argc, char **argv) { return 0; }" HAVE_GAMEINPUT_H
)
check_include_file(dxgi1_6.h HAVE_DXGI1_6_H)
Expand Down
2 changes: 1 addition & 1 deletion src/joystick/gdk/SDL_gameinputjoystick.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include <stdbool.h>
#define COBJMACROS
#include <GameInput.h>
#include <gameinput.h>

enum
{
Expand Down
2 changes: 1 addition & 1 deletion src/video/windows/SDL_windowsgameinput.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <stdbool.h>
#define COBJMACROS
#include <GameInput.h>
#include <gameinput.h>

#include "../../events/SDL_mouse_c.h"
#include "../../events/SDL_keyboard_c.h"
Expand Down

0 comments on commit b5b8680

Please sign in to comment.