mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 02:17:39 +00:00
SDL_hidapi.c: adjust for new SDL_PLATFORM_WINDOWS meaning.
This commit is contained in:
parent
34f03207c4
commit
07a0c0e402
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
* This merges the two, at a small performance cost, until distributions
|
||||
* have granted access to /dev/hidraw*
|
||||
*/
|
||||
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#include "SDL_hidapi_c.h"
|
||||
|
@ -577,7 +578,7 @@ typedef struct PLATFORM_hid_device_ PLATFORM_hid_device;
|
|||
#include "SDL_hidapi_netbsd.h"
|
||||
#elif defined(SDL_PLATFORM_MACOS)
|
||||
#include "SDL_hidapi_mac.h"
|
||||
#elif defined(SDL_PLATFORM_WINDOWS) || defined(SDL_PLATFORM_WINGDK)
|
||||
#elif defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK)
|
||||
#include "SDL_hidapi_windows.h"
|
||||
#elif defined(SDL_PLATFORM_ANDROID)
|
||||
#include "SDL_hidapi_android.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue