summaryrefslogtreecommitdiff
path: root/lib/same.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-11-26 07:40:41 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-11-26 07:40:41 +0000
commitda741f89bd5a4e4468346e074d142dfe9e1a2761 (patch)
treea7dfeae0cba7bf63ca6abb60f9f532cbbef9ba02 /lib/same.c
parentcc08c826e94d19baafc3e58804d5dd81564eaee4 (diff)
downloadcoreutils-da741f89bd5a4e4468346e074d142dfe9e1a2761.tar.xz
(MIN) [defined MIN]: Don't define, since it's already defined.
Diffstat (limited to 'lib/same.c')
-rw-r--r--lib/same.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/same.c b/lib/same.c
index 33e13a01b..f018c62b6 100644
--- a/lib/same.c
+++ b/lib/same.c
@@ -46,7 +46,9 @@
#include "error.h"
#include "xalloc.h"
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#ifndef MIN
+# define MIN(a, b) ((a) < (b) ? (a) : (b))
+#endif
#define SAME_INODE(Stat_buf_1, Stat_buf_2) \
((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \