summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
diff options
context:
space:
mode:
authorNorbert Lange <nolange79@gmail.com>2021-02-03 01:25:06 +0100
committerNorbert Lange <nolange79@gmail.com>2021-02-22 14:30:43 +0100
commit29eaf09be4e9cd7fa537718466faf0c28004e08e (patch)
tree588b20fe7e76d0582a1f4970baec48f2d90e3b39 /Source/Core/InputCommon/ControllerInterface
parentb6e9cca64f41d20d6eaca46f151e2efd07ccafbf (diff)
Cleanup X11 and XRANDR Macros
This fixes build with X11 enabled and XRANDR disabled.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
index ffa189437f..254516fb6e 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
@@ -18,7 +18,7 @@
#ifdef _WIN32
#define CIFACE_USE_WIN32
#endif
-#if defined(HAVE_X11) && HAVE_X11
+#ifdef HAVE_X11
#define CIFACE_USE_XLIB
#endif
#if defined(__APPLE__)