diff options
| author | Anton Yabchinskiy | 2014-11-20 00:20:27 +0300 |
|---|---|---|
| committer | Anton Yabchinskiy | 2015-11-20 23:36:34 +0300 |
| commit | b14c90801f99fe97cb445a56036eefeedfe720db (patch) | |
| tree | 8796b5ba2ac53ba0710415870630233093043dec /platform | |
| parent | 523e64d30bdb68a904a9f1aebe2ff6b7985f8b86 (diff) | |
| download | godot-b14c90801f99fe97cb445a56036eefeedfe720db.tar.gz godot-b14c90801f99fe97cb445a56036eefeedfe720db.tar.zst godot-b14c90801f99fe97cb445a56036eefeedfe720db.zip | |
Diffstat (limited to 'platform')
| -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 189f0f3ac..4f1b475d0 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -1673,7 +1673,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) { @@ -1728,7 +1728,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; |
