make-logging-enhancements-aix-friendly-20011011
authorDerrick Brashear <shadow@dementia.org>
Fri, 12 Oct 2001 01:24:22 +0000 (01:24 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 12 Oct 2001 01:24:22 +0000 (01:24 +0000)
AIX lacks WCOREDUMP so we work around it

src/bozo/bnode.c

index b401b46..255edb9 100644 (file)
@@ -34,6 +34,11 @@ RCSID("$Header$");
 #include <afs/fileutil.h>
 #include "bnode.h"
 
+#ifdef AFS_AIX_ENV
+/* All known versions of AIX lack WCOREDUMP but this works */
+#define WCOREDUMP(x) ((x) & 0x80)
+#endif
+
 #define BNODE_LWP_STACKSIZE    (16 * 1024)
 
 int bnode_waiting = 0;