From b1c8f4c7b9f8aa0c0c05da163a8210fb92cbe86d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 8 Jun 2010 18:51:20 -0400 Subject: [PATCH] Add definition of WCOREDUMP for systems without it. This is known to work on AIX and SunOS 4, but may be incorrect on other systems that lack WCOREDUMP. --HG-- branch : 1.7 --- compat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compat.h b/compat.h index adba862d4..dc1a2aea0 100644 --- a/compat.h +++ b/compat.h @@ -295,4 +295,8 @@ const char *getprogname __P((void)); } while (0) #endif +#ifndef WCOREDUMP +# define WCOREDUMP(x) ((x) & 0x80) +#endif + #endif /* _SUDO_COMPAT_H */ -- 2.50.1