mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 15:38:02 +02:00
[directfb,os2] #error if the backend is not compiled in, like others do
This commit is contained in:
parent
073d06d466
commit
2894ed19a3
2 changed files with 5 additions and 0 deletions
|
|
@ -48,5 +48,8 @@ cairo_directfb_surface_create (IDirectFB *dfb,IDirectFBSurface *surface);
|
|||
|
||||
CAIRO_END_DECLS
|
||||
|
||||
#else /*CAIRO_HAS_DIRECTFB_SURFACE*/
|
||||
# error Cairo was not compiled with support for the directfb backend
|
||||
#endif /*CAIRO_HAS_DIRECTFB_SURFACE*/
|
||||
|
||||
#endif /*CAIRO_DIRECTFB_H*/
|
||||
|
|
|
|||
|
|
@ -194,6 +194,8 @@ cairo_os2_surface_set_manual_window_refresh (cairo_surface_t *surface,
|
|||
cairo_public cairo_bool_t
|
||||
cairo_os2_surface_get_manual_window_refresh (cairo_surface_t *surface);
|
||||
|
||||
#else /* CAIRO_HAS_OS2_SURFACE */
|
||||
# error Cairo was not compiled with support for the OS/2 backend
|
||||
#endif /* CAIRO_HAS_OS2_SURFACE */
|
||||
|
||||
CAIRO_END_DECLS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue