Skip to content

Commit 8f6f7aa

Browse files
committed
Re-enable --disable-x11 builds
Slightly changes a symbol used in [7e621b6]. Closes #9477. Only tested on Linux and Mac OS X.
1 parent 636542c commit 8f6f7aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mythtv/libs/libmythui/mythdisplay.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#import "util-osx.h"
66
#elif defined(Q_WS_WIN)
77
#include <windows.h>
8-
#elif defined(Q_WS_X11)
8+
#elif USING_X11
99
#include "mythxdisplay.h"
1010
#elif USING_DIRECTFB
1111
#include <linux/fb.h>
@@ -15,7 +15,7 @@ extern "C" {
1515
}
1616
#endif
1717

18-
#if !defined(Q_WS_X11)
18+
#if !USING_X11
1919
#include <QApplication>
2020
#include <QDesktopWidget>
2121
#endif
@@ -101,7 +101,7 @@ DisplayInfo MythDisplay::GetDisplayInfo(int video_rate)
101101
else
102102
ret.rate = fix_rate(video_rate);
103103

104-
#elif defined (Q_WS_X11)
104+
#elif USING_X11
105105
MythXDisplay *disp = OpenMythXDisplay();
106106
if (!disp)
107107
return ret;
@@ -166,7 +166,7 @@ int MythDisplay::GetNumberXineramaScreens(void)
166166
{
167167
int nr_xinerama_screens = 0;
168168

169-
#if defined(Q_WS_X11)
169+
#if USING_X11
170170
// TODO Qt is Xinerama aware so this should be unnecessary
171171
MythXDisplay *d = OpenMythXDisplay();
172172
if (d)

0 commit comments

Comments
 (0)