* src/od.c (MIN, MAX): Remove definitions.
authorJim Meyering <jim@meyering.net>
Tue, 13 Apr 1999 01:09:15 +0000 (01:09 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 13 Apr 1999 01:09:15 +0000 (01:09 +0000)
* src/sys2.h (MIN, MAX): Define here instead.

src/od.c
src/sys2.h

index b6906f4..d72ffc1 100644 (file)
--- a/src/od.c
+++ b/src/od.c
@@ -46,14 +46,6 @@ typedef double LONG_DOUBLE;
 # include <values.h>
 #endif
 
-#ifndef MAX
-# define MAX(a, b) ((a) > (b) ? (a) : (b))
-#endif
-
-#ifndef MIN
-# define MIN(a,b) (((a) < (b)) ? (a) : (b))
-#endif
-
 /* The default number of input bytes per output line.  */
 #define DEFAULT_BYTES_PER_BLOCK 16
 
index b1d25f8..a58e948 100644 (file)
@@ -274,3 +274,11 @@ char *base_name PARAMS ((char const *));
     close_stdout ();                                                   \
     exit (EXIT_SUCCESS);                                               \
     break;
+
+#ifndef MAX
+# define MAX(a, b) ((a) > (b) ? (a) : (b))
+#endif
+
+#ifndef MIN
+# define MIN(a,b) (((a) < (b)) ? (a) : (b))
+#endif