Module: wine Branch: master Commit: abf4250c726e3ec53fec79d0e4d6f695b456c798 URL: http://source.winehq.org/git/wine.git/?a=commit;h=abf4250c726e3ec53fec79d0e4... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Fri Nov 30 13:33:24 2012 +0100 winex11.drv: The winediag debug channel is only used for HAVE_XRRGETSCREENRESOURCES. --- 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