1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r18672: fix the build on Tru64

metze
(This used to be commit 6c101d2068)
This commit is contained in:
Stefan Metzmacher 2006-09-19 03:29:44 +00:00 committed by Gerald (Jerry) Carter
parent 8383eb53f4
commit 7040796108

View File

@ -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