mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 03:48:03 +02:00
Undef MIN/MAX before defining them in case some system header happens to define them. (#4196, Christian Biesinger)
This commit is contained in:
parent
3c53414cf3
commit
a6acc962f7
2 changed files with 10 additions and 1 deletions
|
|
@ -1,8 +1,14 @@
|
|||
2005-08-27 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* src/cairoint.h: Undef MIN/MAX before defining them in case
|
||||
some system header happens to define them. (#4196, Christian
|
||||
Biesinger)
|
||||
|
||||
2005-08-27 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* src/cairo-image-surface.c (cairo_image_surface_create)
|
||||
(cairo_image_surface_create_for_data): Fix docs not to talk about
|
||||
%NULL returns. #4271, Duncan Coutts.
|
||||
%NULL returns. (#4271, Duncan Coutts.)
|
||||
|
||||
2005-08-25 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
|
|
|
|||
|
|
@ -146,7 +146,10 @@
|
|||
# define CAIRO_MUTEX_UNLOCK(name)
|
||||
#endif
|
||||
|
||||
#undef MIN
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
|
||||
#undef MAX
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
#ifndef FALSE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue