[cairo] [cairo-commit] 3 commits - boilerplate/cairo-boilerplate.c boilerplate/cairo-boilerplate.h boilerplate/cairo-boilerplate-xlib.c src/cairo-quartz-surface.c

Behdad Esfahbod behdad at behdad.org
Sat Jan 3 14:24:48 PST 2009


Chris Wilson wrote:
>     RTLD_DEFAULT is a gnu-ism (at least according to the manpage on my linux
>     system) so declare _GNU_SOURCE before including dlfcn.h and failing that
>     provide our own definition.

If it's not defined by the system and we define our own's, does it work, or
crash?!


> +#ifndef CAIRO_BOILERPLATE_DEBUG
> +#define CAIRO_BOILERPLATE_DEBUG(...)
> +#endif

This is not portable IIRC.

behdad


More information about the cairo mailing list