curl-library
Re: The #include in if2ip.c is made unconditionally which is bad and needs to be fixed
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 16 Dec 2012 11:00:08 +0100 (CET)
Date: Sun, 16 Dec 2012 11:00:08 +0100 (CET)
On Sat, 15 Dec 2012, Frank Chang wrote:
> Daniel Stenberg, Please read the following email I sent to Yang Tse a few
> hours ago. Thank you.
>> * 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
>>
>>
>> /*
Yes, this is the change we've discussed here on this list already that Yang
committed after your mails. Dan F objected and I'm inclined to be on Dan's
side here and say that this change is a work-around we rather avoid.
I would expect that your header order patch should be a better fix for this.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-12-16