mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
Fix various #if defineds
This commit is contained in:
parent
f2b7495adc
commit
c2508d5d99
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue