]> Sergey Matveev's repositories - nnn.git/commitdiff
Some systems define this already.
authorsin <sin@2f30.org>
Wed, 22 Oct 2014 16:41:16 +0000 (17:41 +0100)
committersin <sin@2f30.org>
Wed, 22 Oct 2014 16:41:16 +0000 (17:41 +0100)
noice.c

diff --git a/noice.c b/noice.c
index 3019dadad897642b1cdcaab54f58fb0619dccbf2..e4f86a032aa831d95c8ba31a9499ecf6fbdb3673 100644 (file)
--- a/noice.c
+++ b/noice.c
@@ -33,6 +33,7 @@
 #endif /* DEBUG */
 
 #define LEN(x) (sizeof(x) / sizeof(*(x)))
+#undef MIN
 #define MIN(x, y) ((x) < (y) ? (x) : (y))
 #define ISODD(x) ((x) & 1)
 #define CONTROL(c) ((c) ^ 0x40)