cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl build with -enable-sspi on MinGW/MSYS

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Sat, 07 Mar 2009 10:19:01 +0100

"Brecht Sanders" <brecht_at_sanders.org> wrote:

> I was just compiling libcurl on my MinGW/MSYS build environment (on
> Windows) with the -enable-sspi configure option.
> However there were a lot of errors that UNICODE_STRING was not defined.
> I was able to get around this by simply including subauth.h before other
> header files that refer to it.

What MingW version do you have? With v.3.14 here there's no problem.
Excactly what errors do you get?

> Below is the patch for my changes.
> I'm not sure if this fix would be needed on other win32 build
> environments, but if not it may be better to #ifdef __MINGW32__ around
> the added line.

Nah, it wouldn't matter if all Win32 targets include this file.

--gv
Received on 2009-03-07