min-max.h 122 Bytes
Newer Older
Paul Eggert's avatar
Paul Eggert committed
1 2 3 4 5 6
#ifndef min
# define min(a,b) ((a) < (b) ? (a) : (b))
#endif
#ifndef max
# define max(a,b) ((a) > (b) ? (a) : (b))
#endif