summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_intern.h
blob: 27f3d10badfdd086048e0df2a277d08fb4ca5169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef GD_INTERN_H
#define GD_INTERN_H
#ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b))
#endif
#define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c)))
#ifndef MAX
#define MAX(a,b) ((a)<(b)?(b):(a))
#endif
#define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))

#endif