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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user