summaryrefslogtreecommitdiff
path: root/lib/same.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-11-26 08:35:29 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-11-26 08:35:29 +0000
commitf3b23269e922ab27aaa589ec79f24593338c421c (patch)
tree501552a8c38eb22efb4809c3ccdaf7328fa41508 /lib/same.c
parent976bcc225b4b9baaeff4a3176773d2b9a7e2aa2a (diff)
downloadgnulib-f3b23269e922ab27aaa589ec79f24593338c421c.tar.gz
Merge from coreutils for getcwd and HP-UX 11.
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 33e13a01b7..f018c62b6b 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 \