28 Feb
2025
28 Feb
'25
5:47 p.m.
On Fri Feb 28 17:38:27 2025 +0000, Vadim Kazakov wrote:
You mean, I should do it like this? ``` #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 */ ``` Yes, exactly.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7369#note_96236