mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-24 05:40:39 +00:00
Fix various #if defineds
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
#include "../SDL_joystick_c.h"
|
||||
#include "../hidapi/SDL_hidapijoystick_c.h"
|
||||
|
||||
#if defined(SDL_PLATFORM_FREEBSD) || SDL_HAVE_MACHINE_JOYSTICK_H || defined(__FreeBSD_kernel__) || defined(__DragonFly_)
|
||||
#if defined(SDL_PLATFORM_FREEBSD) || defined(SDL_HAVE_MACHINE_JOYSTICK_H) || defined(__FreeBSD_kernel__) || defined(__DragonFly_)
|
||||
#define SUPPORT_JOY_GAMEPORT
|
||||
#endif
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if defined(SDL_JOYSTICK_DINPUT) || SDL_JOYSTICK_XINPUT
|
||||
#if defined(SDL_JOYSTICK_DINPUT) || defined(SDL_JOYSTICK_XINPUT)
|
||||
|
||||
/* DirectInput joystick driver; written by Glenn Maynard, based on Andrei de
|
||||
* A. Formiga's WINMM driver.
|
||||
|
||||
@@ -533,7 +533,7 @@ bool SDL_RemoveTimer(SDL_TimerID id)
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !defined(SDL_PLATFORM_EMSCRIPTEN) || !SDL_THREADS_DISABLED
|
||||
#endif // !SDL_PLATFORM_EMSCRIPTEN || !SDL_THREADS_DISABLED
|
||||
|
||||
static Uint64 tick_start;
|
||||
static Uint32 tick_numerator_ns;
|
||||
|
||||
Reference in New Issue
Block a user