diff options
author | hondres <hinsbart@users.noreply.github.com> | 2015-12-21 22:39:03 +0100 |
---|---|---|
committer | hondres <hinsbart@users.noreply.github.com> | 2015-12-21 22:39:03 +0100 |
commit | 541c9039c593e44afb86369c052ed846c42698bd (patch) | |
tree | 3d5155a97f610e1a10785948ad24ce517e271727 /platform/x11/os_x11.h | |
parent | 1bc91848e3cee91eccaf2150a74deaf1cd84be13 (diff) |
Check pkg-config for libudev and enable gamepad code only if found. Linux only for now
Diffstat (limited to 'platform/x11/os_x11.h')
-rw-r--r-- | platform/x11/os_x11.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/os_x11.h b/platform/x11/os_x11.h index 02518189e0..eee3e40136 100644 --- a/platform/x11/os_x11.h +++ b/platform/x11/os_x11.h @@ -126,7 +126,7 @@ class OS_X11 : public OS_Unix { InputDefault *input; -#ifdef __linux__ +#ifdef JOYDEV_ENABLED joystick_linux *joystick; #endif |