diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-11-24 01:30:51 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-11-24 01:30:51 +0000 |
commit | ef1d4e1dcf453e81990e141011f57902c2cea386 (patch) | |
tree | cc349ae4542adf162dcdd4801e02ff41d17b21f0 /ext/gd | |
parent | 67e25fcbd80f936a854a38f7036e0e16428601da (diff) | |
download | php-git-ef1d4e1dcf453e81990e141011f57902c2cea386.tar.gz |
Fix compile warning, MIN/MAX macros may already be defined by param.h
Diffstat (limited to 'ext/gd')
-rw-r--r-- | ext/gd/libgd/gdft.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/gd/libgd/gdft.c b/ext/gd/libgd/gdft.c index 620ff9c7a2..75c23c7481 100644 --- a/ext/gd/libgd/gdft.c +++ b/ext/gd/libgd/gdft.c @@ -86,8 +86,13 @@ gdImageStringFT (gdImage * im, int *brect, int fg, char *fontlist, #define TRUE !FALSE #endif +#ifndef MAX #define MAX(a,b) ((a)>(b)?(a):(b)) +#endif + +#ifndef MIN #define MIN(a,b) ((a)<(b)?(a):(b)) +#endif typedef struct { |