diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-19 03:29:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:00:46 -0500 |
commit | 70407961081d6bdef12bd5ddb9f6633bfac617ef (patch) | |
tree | 5835481698eb723d38eef5ffada16d1351a5d4ca /source3/lib | |
parent | 8383eb53f49aaa5026cc9431a7eec3b086870d5c (diff) | |
download | samba-70407961081d6bdef12bd5ddb9f6633bfac617ef.tar.gz samba-70407961081d6bdef12bd5ddb9f6633bfac617ef.tar.bz2 samba-70407961081d6bdef12bd5ddb9f6633bfac617ef.zip |
r18672: fix the build on Tru64
metze
(This used to be commit 6c101d206812fe24233409e0757cad52638e685a)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/replace/replace.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 <rpcsvc/yp_prot.h> not doing a redefine */ +/* + * to prevent <rpcsvc/yp_prot.h> 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 |