summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-24 02:06:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:17 -0500
commit311e26246c62af508c25895b6c0d93b1f572c2c7 (patch)
tree481ac1bf60714317e97459f0a16aeee5371cdc21
parent443a22b7f77f8aa640b6c75b49d853d4614d34d1 (diff)
downloadsamba-311e26246c62af508c25895b6c0d93b1f572c2c7.tar.gz
samba-311e26246c62af508c25895b6c0d93b1f572c2c7.tar.bz2
samba-311e26246c62af508c25895b6c0d93b1f572c2c7.zip
r18861: merge from samba3
(This used to be commit c5e2fcdc10a0869264bb1c6a13ada5f12e1b655f)
-rw-r--r--source4/lib/replace/replace.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 61adb999d9..edcdebe6bd 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -333,6 +333,7 @@ typedef int bool;
*
* IRIX, HPUX, MacOS 10 and Solaris need BOOL_DEFINED
* Tru64 needs _BOOL_EXISTS
+ * AIX needs _BOOL,_TRUE,_FALSE
*/
#ifndef BOOL_DEFINED
#define BOOL_DEFINED
@@ -340,6 +341,9 @@ typedef int bool;
#ifndef _BOOL_EXISTS
#define _BOOL_EXISTS
#endif
+#ifndef _BOOL
+#define _BOOL
+#endif
#ifndef __bool_true_false_are_defined
#define __bool_true_false_are_defined
@@ -352,6 +356,13 @@ typedef int bool;
#define false (0)
#endif
+#ifndef _TRUE
+#define _TRUE
+#endif
+#ifndef _FALSE
+#define _FALSE
+#endif
+
#ifndef HAVE_FUNCTION_MACRO
#ifdef HAVE_func_MACRO
#define __FUNCTION__ __func__