From 29eaf09be4e9cd7fa537718466faf0c28004e08e Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Wed, 3 Feb 2021 01:25:06 +0100 Subject: Cleanup X11 and XRANDR Macros This fixes build with X11 enabled and XRANDR disabled. --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h') 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__) -- cgit v1.2.3