cURL / Mailing Lists / curl-library / Single Mail


Re: [patch] fix Cygwin build problems and testsuiteinfrastucturequestions

From: Yang Tse <>
Date: Tue, 10 Apr 2007 21:00:15 +0200

2007/4/10, Daniel Stenberg wrote:

> I was under the impression SSPI is for windows - and cygwin is not really
> windows.

You are right. I have just formally disabled SSPI support for non
native Windows builds.

Cygwin's windows.h pulls in windef.h, and windef.h unconditionally
defines the WIN32 and _WIN32 symbols, this breaks all libcurl building
logic on POSIX Cygwin which is based on the assumption that a POSIX
Cygwin target isn't a native Windows one.

To change the actual state it woul be necessary for someone to take
the time to locate a POSIX SSPI library and make the integration into

Brian, if your user needs SSPI, build him a crosscompiled MinGW target
from Cygwin. That is the supported way from Cygwin environment.

Received on 2007-04-10