cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl compiling under zOS Unix system services

From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 23 Apr 2012 16:55:31 +0200

On Mon, Apr 23, 2012 at 3:26 PM, Peter Ondruška
<peter.ondruska+curl_at_gmail.com> wrote:

> anybody uses latest libcurl on zOS?

Not here.

> When compiling lib/select.h refers
> to sys/poll.h instead of poll.h (on this particular system) and
> therefore it failed. After the change in select.h curl compiled fine.

Are you running configure configure script or using a hand-crafted
curl_config.h file?

Are you using native compiler or gcc? Whose headers are being used?

Does sys/poll.h and poll.h exist irregardless of compiler being used?

Is poll.h contrary to sys/poll.h the appropriate header to include
always in lib/select.h for zOS?

Is 'ZOS' preprocessor symbol always pre-defined (without the inclusion
of any header) when compiling code for zOS? If not which predefined
macro would allow to tell apart a zOS build target from any other?

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-23