diff lib/same.c @ 5491:b3d5c90efc81

Merge from coreutils for getcwd and HP-UX 11.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 26 Nov 2004 08:35:29 +0000 (2004-11-26)
parents 46d5c1c09035
children a48fb0e98c8c
line wrap: on
line diff
--- 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 \