From: Vadim Kazakov <xipster(a)etersoft.ru> --- include/security.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/security.h b/include/security.h index 11ff6f77044..73982c78ee8 100644 --- a/include/security.h +++ b/include/security.h @@ -17,6 +17,16 @@ #ifndef _SECURITY_H #define _SECURITY_H +#ifndef NEGOSSP_NAME +#define NEGOSSP_NAME_A "Negotiate" +#if defined(_MSC_VER) || defined(__MINGW32__) +#define NEGOSSP_NAME_W L"Negotiate" +#else +static const WCHAR NEGOSSP_NAME_W[] = { 'N','e','g','o','t','i','a','t','e',0 }; +#endif +#define NEGOSSP_NAME WINELIB_NAME_AW(NEGOSSP_NAME_) +#endif /* NEGOSSP_NAME */ + #include <sspi.h> #if defined(SECURITY_WIN32) || defined(SECURITY_KERNEL) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7369