зеркало из 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:
Родитель
6ffed52ef5
Коммит
77605274fb
|
@ -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 */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче