Commit f254c59d authored by Yang Tse's avatar Yang Tse
Browse files

setup_once.h: HP-UX specific TRUE and FALSE definitions

Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
parent 568befb6
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -316,6 +316,18 @@ struct timeval {
#endif


/*
 * 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.