cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Curl.h need change ? Yes !

From: Cadime <ricardo-v-cadime_at_ptinovacao.pt>
Date: Fri, 6 Sep 2002 15:47:10 +0100

>> I am compiling with HP-UX aCC and I am getting an error when using
>> curl7.9.8 headers. I need a kind of additional check as the one that
>> occurred from v1.152 to 1.153 of curl.h. But I do not know
>what should be
>> the compiler flag to check !!!!
>>
>> My compiler does not predefine __STDC__ neither _MSC_VER neither
>> __cplusplus. It does not allow to define them either.
>>
>> Any help?
>
>Checking http://predef.sourceforge.net/, it suggests your compiler sets
>__HP_aCC. Could you try that?
>
>It would make the full condition something like this:
>
>#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \
> defined(__HP_aCC)

Great !!! It works !! Thanks !! Can you include it in future versions?

Some people, as I do, need to use aCC because it is the default HP compiler
and they provide support to it :-)

>
>--
> Daniel Stenberg -- curl related mails on curl related mailing
>lists please
>

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-09-06