]> granicus.if.org Git - curl/commitdiff
sspi: Fixed missing definition of ISC_REQ_USE_HTTP_STYLE
authorSteve Holme <steve_holme@hotmail.com>
Thu, 6 Nov 2014 12:59:57 +0000 (12:59 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 6 Nov 2014 13:04:24 +0000 (13:04 +0000)
Some versions of Microsoft's sspi.h don't define this.

lib/curl_sspi.h

index 9fdcc1688d131088de9ac0252eb5121cc9fd6fa7..130907e29416d95efaa6a1f84f322e2f69f7cb86 100644 (file)
@@ -60,6 +60,10 @@ extern PSecurityFunctionTable s_pSecFn;
 #define SP_NAME_NEGOTIATE           "Negotiate"
 #define SP_NAME_KERBEROS            "Kerberos"
 
+#ifndef ISC_REQ_USE_HTTP_STYLE
+#define ISC_REQ_USE_HTTP_STYLE                0x01000000
+#endif
+
 #ifndef SEC_E_INSUFFICIENT_MEMORY
 # define SEC_E_INSUFFICIENT_MEMORY             ((HRESULT)0x80090300L)
 #endif