Skip to content

Commit

Permalink
setup_once.h: HP-UX specific TRUE and FALSE definitions
Browse files Browse the repository at this point in the history
Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
  • Loading branch information
yangtse committed Dec 12, 2012
1 parent 98b5296 commit bceb400
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions setup_once.h
Expand Up @@ -299,6 +299,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.
Expand Down

0 comments on commit bceb400

Please sign in to comment.