mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
Simplify macro guards for HAVE_XRANDR
This commit is contained in:
parent
29eaf09be4
commit
d4b293e969
7 changed files with 12 additions and 14 deletions
|
@ -7,7 +7,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||
#ifdef HAVE_XRANDR
|
||||
#include <X11/extensions/Xrandr.h>
|
||||
#endif
|
||||
#include <X11/Xlib.h>
|
||||
|
@ -26,7 +26,7 @@ Display* XDisplayFromHandle(void* Handle);
|
|||
|
||||
void InhibitScreensaver(Window win, bool suspend);
|
||||
|
||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||
#ifdef HAVE_XRANDR
|
||||
class XRRConfiguration
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue