Move X11DRV_XRender_Installed under #ifdef SONAME_LIBXRENDER
Gerald Pfeifer
gerald at pfeifer.com
Sat Sep 29 10:04:55 CDT 2007
Tested on FreeBSD 6.2 in a configuration without SONAME_LIBXRENDER
defined as well as SUSE Linux.
Gerald
ChangeLog:
Move the delcaration of X11DRV_XRender_Installed under #ifdef
SONAME_LIBXRENDER since it is only used in that case.
Index: dlls/winex11.drv/xrender.c
===================================================================
RCS file: /home/wine/wine/dlls/winex11.drv/xrender.c,v
retrieving revision 1.24
diff -u -3 -p -r1.24 xrender.c
--- dlls/winex11.drv/xrender.c 27 Sep 2007 19:49:43 -0000 1.24
+++ dlls/winex11.drv/xrender.c 29 Sep 2007 13:52:33 -0000
@@ -36,13 +36,14 @@
#include "wine/unicode.h"
#include "wine/debug.h"
-static BOOL X11DRV_XRender_Installed = FALSE;
int using_client_side_fonts = FALSE;
WINE_DEFAULT_DEBUG_CHANNEL(xrender);
#ifdef SONAME_LIBXRENDER
+static BOOL X11DRV_XRender_Installed = FALSE;
+
#include <X11/Xlib.h>
#include <X11/extensions/Xrender.h>
More information about the wine-patches
mailing list