diff options
author | Anton Yabchinskiy <arn@bestmx.ru> | 2014-11-20 00:20:27 +0300 |
---|---|---|
committer | Anton Yabchinskiy <arn@bestmx.ru> | 2014-11-22 13:23:38 +0300 |
commit | 7ed9a8a007044bf90cb7e6677598e20fc1abc121 (patch) | |
tree | a36e44e5ca3efd4dfb51c02fd0d655c19f7d38ab | |
parent | c7ff60416462fb32b23166501d6c1059427b21ec (diff) |
Disable X11 joystick functions also for OpenBSD
-rw-r--r-- | platform/x11/os_x11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 498bebdc0e..1e6b7dc90e 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -1112,7 +1112,7 @@ void OS_X11::close_joystick(int p_id) { }; void OS_X11::probe_joystick(int p_id) { - #ifndef __FreeBSD__ + #if !defined(__FreeBSD__) && !defined(__OpenBSD__) if (p_id == -1) { @@ -1167,7 +1167,7 @@ void OS_X11::move_window_to_foreground() { } void OS_X11::process_joysticks() { - #ifndef __FreeBSD__ + #if !defined(__FreeBSD__) && !defined(__OpenBSD__) int bytes; js_event events[32]; InputEvent ievent; |