1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00

Fix compile warning, MIN/MAX macros may already be defined by param.h

This commit is contained in:
Ilia Alshanetsky
2002-11-24 01:30:51 +00:00
parent 67e25fcbd8
commit ef1d4e1dcf

View File

@@ -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
{