cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: connect failed if set socket non-blocking,why?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 26 Oct 2004 11:59:03 +0200 (CEST)

On Tue, 26 Oct 2004, [gb2312] 黄志军 wrote:

> it can run fine in HP11, Sun5.6, 5.8 and win2k without it .But in
> unixware,the REENTRANT related option is surely needed in compile the
> application program and _THREAD_SAFE and REENTRANT option should be defined
> in config.h before make curl.

Ok. Are you sure you need both?

Don't you mean _REENTRANT? (That is with an underscore first.)

Isn't curl's configure definining NEED_REENTRANT in lib/config.h for you?
(Which then makes libcurl define _REENTRANT in lib/setup.h.)

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-10-26