mirror of
https://github.com/curl/curl.git
synced 2026-06-05 12:14:17 +03:00
setup_once.h: HP-UX specific TRUE and FALSE definitions
Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
This commit is contained in:
parent
568befb6aa
commit
f254c59dc7
1 changed files with 12 additions and 0 deletions
|
|
@ -316,6 +316,18 @@ struct timeval {
|
||||||
#endif
|
#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,
|
* Macro WHILE_FALSE may be used to build single-iteration do-while loops,
|
||||||
* avoiding compiler warnings. Mostly intended for other macro definitions.
|
* avoiding compiler warnings. Mostly intended for other macro definitions.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue