зеркало из https://github.com/mozilla/gecko-dev.git
Bug 739096 - Patch cairo-xlib-xrender-private.h to work around lack of full configure support. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D112583
This commit is contained in:
Родитель
ac16b1fc69
Коммит
40835587ef
|
@ -96,6 +96,10 @@ __attribute__((__unused__)) static void _void_consume_free (Display *p, XID
|
||||||
#define PictOpBlendMaximum 0x3e
|
#define PictOpBlendMaximum 0x3e
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* The mozilla build doesn't set up all the following HAVE_* symbols,
|
||||||
|
so we cheat by just checking the version number for now. */
|
||||||
|
#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
|
||||||
|
|
||||||
#if !HAVE_XRENDERCREATESOLIDFILL
|
#if !HAVE_XRENDERCREATESOLIDFILL
|
||||||
#define XRenderCreateSolidFill _int_consume
|
#define XRenderCreateSolidFill _int_consume
|
||||||
#endif
|
#endif
|
||||||
|
@ -132,6 +136,7 @@ typedef struct _XConicalGradient {
|
||||||
} XConicalGradient;
|
} XConicalGradient;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* RENDER_MAJOR == 0 && RENDER_MINOR < 10 */
|
||||||
|
|
||||||
#else /* !CAIRO_HAS_XLIB_XRENDER_SURFACE */
|
#else /* !CAIRO_HAS_XLIB_XRENDER_SURFACE */
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче