windows: drop two interim, single-use macros

Follow-up to e77d867068

Closes #18114
This commit is contained in:
Viktor Szakats 2025-07-31 00:59:39 +02:00
parent d21e75a6ae
commit b5c245045e
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 13 additions and 18 deletions

View file

@ -177,7 +177,12 @@ CURLcode Curl_create_sspi_identity(const char *userp, const char *passwdp,
curlx_unicodefree(passwd.tchar_ptr);
/* Setup the identity's flags */
identity->Flags = SECFLAG_WINNT_AUTH_IDENTITY;
identity->Flags = (unsigned long)
#ifdef UNICODE
SEC_WINNT_AUTH_IDENTITY_UNICODE;
#else
SEC_WINNT_AUTH_IDENTITY_ANSI;
#endif
return CURLE_OK;
}