Cleanup X11 and XRANDR Macros

This fixes build with X11 enabled and XRANDR disabled.
This commit is contained in:
Norbert Lange
2021-02-03 01:25:06 +01:00
parent b6e9cca64f
commit 29eaf09be4
5 changed files with 7 additions and 6 deletions

View File

@ -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__)