cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 12 Dec 2012 17:53:01 +0100

On Wed, Dec 12, 2012 at 04:21:51PM +0100, Yang Tse wrote:
> Compilation was failing on line that reads as "This is probably not a
> good thing....". In order to make this happen "_KERNEL" must have been
> defined somewhere.
>
> In any case, I've just pushed
> https://github.com/bagder/curl/commit/f254c59dc7 which should solve
> this issue no matter if _KERNEL is defined or not on HP-UX.

I really don't think HP-UX expects every application to have to define
TRUE and FALSE macros in order to compile. It's much more likely that
there's something borked in the compile environment, or HP-UX simply
needs another header header file to be included first.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-12-12