curl-library
Re: socks_sspi.c error
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 29 Jan 2009 13:49:21 +0100 (CET)
Date: Thu, 29 Jan 2009 13:49:21 +0100 (CET)
On Thu, 29 Jan 2009, Gisle Vanem wrote:
> Here is what I get when compiling socks_sspi.c:
>
> ../../OpenSSL-0.9.9/outinc/openssl/safestack.h:105: error: conflicting types
> for 'STRING'
> g:/MingW32/include/ntsecapi.h:137: error: previous declaration of 'STRING'
> was here
Grrr, both ends should be ashamed for polluting the global name space by using
such silly and generic names.
I figure the proper fix for this would be to make sure we don't include the
OpenSSL stuff when socks_sspi.c is compiled, as it certainly isn't needed
then!
-- / daniel.haxx.seReceived on 2009-01-29