diff options
author | Roland McGrath <roland@redhat.com> | 1992-06-15 22:41:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1992-06-15 22:41:21 +0000 |
commit | febf5d0944461c380ede5d3fb77846a3d86cab6e (patch) | |
tree | a567d29c8d5bd6fdd85a20fdb1d411b1a6b56ff9 | |
parent | 9e37e514d2eafe3644e9ded15d297b6f53d89cd1 (diff) | |
download | gunmake-febf5d0944461c380ede5d3fb77846a3d86cab6e.tar.gz |
Formerly make.h.~45~
-rw-r--r-- | make.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |