From 70407961081d6bdef12bd5ddb9f6633bfac617ef Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 19 Sep 2006 03:29:44 +0000 Subject: r18672: fix the build on Tru64 metze (This used to be commit 6c101d206812fe24233409e0757cad52638e685a) --- source3/lib/replace/replace.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h index e6ba68f9ad..eabff67cd4 100644 --- a/source3/lib/replace/replace.h +++ b/source3/lib/replace/replace.h @@ -325,7 +325,14 @@ char *rep_mkdtemp(char *template); #define bool _Bool #else #define __bool_true_false_are_defined -#define BOOL_DEFINED /* needed for not doing a redefine */ +/* + * to prevent from doing a redefine of 'bool' + * + * IRIX, HPUX, MacOS 10 and Solaris need BOOL_DEFINED + * Tru64 needs _BOOL_EXISTS + */ +#define BOOL_DEFINED +#define _BOOL_EXISTS typedef int bool; #endif #endif -- cgit