mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc
This commit is contained in:
parent
2c7fd7433d
commit
2dd82f8e4d
@ -65,7 +65,7 @@
|
||||
#include "gfxDirectFBSurface.h"
|
||||
#endif
|
||||
|
||||
#ifdef CAIRO_HAS_QT_SURFACE
|
||||
#if defined(CAIRO_HAS_QT_SURFACE) && defined(MOZ_WIDGET_QT)
|
||||
#include "gfxQPainterSurface.h"
|
||||
#endif
|
||||
|
||||
@ -191,7 +191,7 @@ gfxASurface::Wrap (cairo_surface_t *csurf)
|
||||
result = new gfxDirectFBSurface(csurf);
|
||||
}
|
||||
#endif
|
||||
#ifdef CAIRO_HAS_QT_SURFACE
|
||||
#if defined(CAIRO_HAS_QT_SURFACE) && defined(MOZ_WIDGET_QT)
|
||||
else if (stype == CAIRO_SURFACE_TYPE_QT) {
|
||||
result = new gfxQPainterSurface(csurf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user