aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/setup_once.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/setup_once.h b/lib/setup_once.h
index eb14e5886..0bf49b72e 100644
--- a/lib/setup_once.h
+++ b/lib/setup_once.h
@@ -317,6 +317,18 @@ struct timeval {
/*
+ * Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
+ */
+
+#if defined(__hpux)
+#undef TRUE
+#define TRUE 1
+#undef FALSE
+#define FALSE 0
+#endif
+
+
+/*
* Macro WHILE_FALSE may be used to build single-iteration do-while loops,
* avoiding compiler warnings. Mostly intended for other macro definitions.
*/