summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/bool.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmxmlrpc/bool.h')
-rw-r--r--Utilities/cmxmlrpc/bool.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Utilities/cmxmlrpc/bool.h b/Utilities/cmxmlrpc/bool.h
new file mode 100644
index 0000000..8bf54f3
--- /dev/null
+++ b/Utilities/cmxmlrpc/bool.h
@@ -0,0 +1,18 @@
+#ifndef BOOL_H_INCLUDED
+#define BOOL_H_INCLUDED
+
+#ifndef TRUE
+#define TRUE (1)
+#endif
+#ifndef FALSE
+#define FALSE (0)
+#endif
+
+#ifndef __cplusplus
+#ifndef HAVE_BOOL
+#define HAVE_BOOL
+typedef int bool;
+#endif
+#endif
+
+#endif