winex11.drv: The winediag debug channel is only used for HAVE_XRRGETSCREENRESOURCES

Michael Stefaniuc mstefani at redhat.de
Fri Nov 30 06:33:24 CST 2012


---
 dlls/winex11.drv/xrandr.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/xrandr.c b/dlls/winex11.drv/xrandr.c
index 5b2dede..5ec8842 100644
--- a/dlls/winex11.drv/xrandr.c
+++ b/dlls/winex11.drv/xrandr.c
@@ -24,7 +24,9 @@
 #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(xrandr);
+#ifdef HAVE_XRRGETSCREENRESOURCES
 WINE_DECLARE_DEBUG_CHANNEL(winediag);
+#endif
 
 #ifdef SONAME_LIBXRANDR
 
-- 
1.7.4.1



More information about the wine-patches mailing list