]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly make.h.~45~
authorRoland McGrath <roland@redhat.com>
Mon, 15 Jun 1992 22:41:21 +0000 (22:41 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 15 Jun 1992 22:41:21 +0000 (22:41 +0000)
make.h

diff --git a/make.h b/make.h
index 94a9a6290d2f9fd6c55c4b8fe5b1486dc5cbbb8d..18df6cd3304d1e5d4b8782aff46d7ceb92e6104d 100644 (file)
--- a/make.h
+++ b/make.h
@@ -280,3 +280,10 @@ extern unsigned int makelevel;
 #define DEBUGPR(msg) \
   do if (debug_flag) { print_spaces (depth); printf (msg, file->name); \
                       fflush (stdout); } while (0)
+
+#ifdef __GNUC__
+#define        max(a, b) \
+  ({ register int __a = (a), __b = (b); __a > __b ? __a : __b; })
+#else
+#define max(a, b) ((a) > (b) ? (a) : (b))
+#endif