]> granicus.if.org Git - curl/commitdiff
prevent warnings on re-defining MIN
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Sep 2005 07:19:54 +0000 (07:19 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Sep 2005 07:19:54 +0000 (07:19 +0000)
tests/server/tftpd.c

index 645a9c3470499af17defd9811e0a67e3d988f47e..50c8e723cc22ed2bd03d892e450c01b02c7803d8 100644 (file)
@@ -193,6 +193,7 @@ static int readit(struct testcase *test, struct tftphdr **dpp,
   return b->counter;
 }
 
+#undef MIN /* some systems have this defined already, some don't */
 #define MIN(x,y) ((x)<(y)?(x):(y));
 
 /*