mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-28 04:49:18 +00:00
clean defines
This commit is contained in:
parent
435e22185b
commit
5e3cb3d769
@ -55,7 +55,7 @@ int g_joystick_num_axes = 0;
|
|||||||
int g_joystick_num_buttons = 0;
|
int g_joystick_num_buttons = 0;
|
||||||
|
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined(__linux__) && !defined(JOYSTICK_DEFINED)
|
||||||
# define JOYSTICK_DEFINED
|
# define JOYSTICK_DEFINED
|
||||||
void
|
void
|
||||||
joystick_init()
|
joystick_init()
|
||||||
@ -148,7 +148,7 @@ joystick_update_buttons()
|
|||||||
}
|
}
|
||||||
#endif /* LINUX */
|
#endif /* LINUX */
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32) && !defined(JOYSTICK_DEFINED)
|
||||||
# define JOYSTICK_DEFINED
|
# define JOYSTICK_DEFINED
|
||||||
void
|
void
|
||||||
joystick_init()
|
joystick_init()
|
||||||
@ -257,7 +257,7 @@ joystick_update_buttons()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_SDL
|
#if defined(HAVE_SDL) && !defined(JOYSTICK_DEFINED)
|
||||||
# define JOYSTICK_DEFINED
|
# define JOYSTICK_DEFINED
|
||||||
void
|
void
|
||||||
joystick_init()
|
joystick_init()
|
||||||
|
Loading…
Reference in New Issue
Block a user