svn commit: samba r18672 - in branches/SAMBA_3_0/source/lib/replace: .

metze at samba.org metze at samba.org
Tue Sep 19 03:29:45 GMT 2006


Author: metze
Date: 2006-09-19 03:29:44 +0000 (Tue, 19 Sep 2006)
New Revision: 18672

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18672

Log:
fix the build on Tru64

metze

Modified:
   branches/SAMBA_3_0/source/lib/replace/replace.h


Changeset:
Modified: branches/SAMBA_3_0/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_3_0/source/lib/replace/replace.h	2006-09-19 03:04:57 UTC (rev 18671)
+++ branches/SAMBA_3_0/source/lib/replace/replace.h	2006-09-19 03:29:44 UTC (rev 18672)
@@ -325,7 +325,14 @@
 #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



More information about the samba-cvs mailing list