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:
Jonathan Kew 2021-04-28 18:06:50 +00:00
Родитель 6ffed52ef5
Коммит 77605274fb
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -96,6 +96,10 @@ __attribute__((__unused__)) static void _void_consume_free (Display *p, XID
#define PictOpBlendMaximum 0x3e
#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
#define XRenderCreateSolidFill _int_consume
#endif
@ -132,6 +136,7 @@ typedef struct _XConicalGradient {
} XConicalGradient;
#endif
#endif /* RENDER_MAJOR == 0 && RENDER_MINOR < 10 */
#else /* !CAIRO_HAS_XLIB_XRENDER_SURFACE */