aboutsummaryrefslogtreecommitdiff
path: root/platform/x11/joystick_linux.cpp
diff options
context:
space:
mode:
authorhondres2015-12-21 22:39:03 +0100
committerhondres2015-12-21 22:39:03 +0100
commit541c9039c593e44afb86369c052ed846c42698bd (patch)
tree3d5155a97f610e1a10785948ad24ce517e271727 /platform/x11/joystick_linux.cpp
parent1bc91848e3cee91eccaf2150a74deaf1cd84be13 (diff)
downloadgodot-541c9039c593e44afb86369c052ed846c42698bd.tar.gz
godot-541c9039c593e44afb86369c052ed846c42698bd.tar.zst
godot-541c9039c593e44afb86369c052ed846c42698bd.zip
Diffstat (limited to 'platform/x11/joystick_linux.cpp')
-rw-r--r--platform/x11/joystick_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/joystick_linux.cpp b/platform/x11/joystick_linux.cpp
index e50916d2c..cc806f6f7 100644
--- a/platform/x11/joystick_linux.cpp
+++ b/platform/x11/joystick_linux.cpp
@@ -28,7 +28,7 @@
/*************************************************************************/
//author: Andreas Haas <hondres, liugam3@gmail.com>
-#ifdef __linux__
+#ifdef JOYDEV_ENABLED
#include "joystick_linux.h"
#include "print_string.h"