curl-library
Re: IRIX quirks?
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 5 Aug 2004 19:45:46 +0200 (CEST)
Date: Thu, 5 Aug 2004 19:45:46 +0200 (CEST)
On Tue, 3 Aug 2004, Tor Arntsen wrote:
> #ifdef _XOPEN_SOURCE
> ssize_t send(int s, const void *msg, size_t len, int flags);
> ssize_t recv(int s, void *buf, size_t len, int flags);
> #else
> int send(int s, const void *msg, int len, int flags);
> int recv(int s, void *buf, int len, int flags);
> #endif
This is next to insane. On the 64bit systems, these are quite big differences
(ssize_t being 64 bits and int being 32) and I don't quite understand how they
can make it a compile-time switch.
Sigh.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-08-05