httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stipe Tolj <>
Subject [PATCH] 1.3: CYGWIN_WINSOCK rule
Date Sat, 12 Jan 2002 22:29:20 GMT
The attached patch introduces a new rule to src/Configuration.tmpl
called CYGWIN_WINSOCK. It may be used for the Cygwin 1.x platform to
use the native Win32 calls for the socket operations instead of
Cygwin's own POSIX.1 wrappers.

A performance gain of about 5-10% has been detected if used.

Here are the changes:

  * src/Configuration.tmpl: added rule CYGWIN_WINSOCK=no 

  * src/Configure: added loading of rule CYGWIN_WINSOCK and Cygwin
platform block specific if statement to include libwsock32.a lib for

  * src/main/buff.c: added a couple of #define add-ons for

  * src/main/http_main.c: added two #defines for CYGWIN_WINSOCK and
compilation flag information output if set at configure time.

  * src/os/cygwin/os.h: added required #defines for CYGWIN_WINSOCK and
declarations for Win32 native calls.

Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

------------------------------------------------------------------- - wherever you are
View raw message