From 485417d47a929b5c39680b08c4ebdc7bbb59b969 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 4 Sep 2007 16:48:11 +0000 Subject: [PATCH] #Define MAX for systems that do not have it (Solaris). Fixes bug #186. SVN revision: 31615 --- src/bin/e_actions.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c index cc753954f..c6aa7fcfd 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -3,6 +3,10 @@ */ #include "e.h" +#ifndef MAX +# define MAX(x, y) (((x) > (y)) ? (x) : (y)) +#endif + #define INITS #define ACT_GO(name) \ { \