[hackers] [quark] Undef MIN() because it screams on OpenBSD || sin

From: <git_AT_suckless.org>
Date: Mon, 01 Dec 2014 17:36:51 +0100

commit 5b089b98a6cb5b108dc6f98ca4b160c59f009472
Author: sin <sin_AT_2f30.org>
Date: Mon Dec 1 16:32:10 2014 +0000

    Undef MIN() because it screams on OpenBSD

diff --git a/quark.c b/quark.c
index 8ee9969..9c8928d 100644
--- a/quark.c
+++ b/quark.c
_AT_@ -25,6 +25,7 @@ char *argv0;
 #define LENGTH(x) (sizeof x / sizeof x[0])
 #define MAXBUFLEN 1024
 #define NPROCS 512
+#undef MIN
 #define MIN(x,y) ((x) < (y) ? (x) : (y))
 
 #define HttpOk "200 OK"
Received on Mon Dec 01 2014 - 17:36:51 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 01 2014 - 17:48:10 CET