Undef MIN() because it screams on OpenBSD

This commit is contained in:
sin 2014-12-01 16:32:10 +00:00 committed by FRIGN
parent 2a83d925d7
commit 5b089b98a6

View file

@ -25,6 +25,7 @@ char *argv0;
#define LENGTH(x) (sizeof x / sizeof x[0]) #define LENGTH(x) (sizeof x / sizeof x[0])
#define MAXBUFLEN 1024 #define MAXBUFLEN 1024
#define NPROCS 512 #define NPROCS 512
#undef MIN
#define MIN(x,y) ((x) < (y) ? (x) : (y)) #define MIN(x,y) ((x) < (y) ? (x) : (y))
#define HttpOk "200 OK" #define HttpOk "200 OK"