From 19caafcb9ea646c554c8fe731fc2558330c8b91f Mon Sep 17 00:00:00 2001 From: James Tabor Date: Wed, 26 Aug 2020 17:37:17 -0500 Subject: [PATCH] [LocalSpl] Fix MsVC Builds Fix unresolved external symbol. --- win32ss/printing/providers/localspl/tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32ss/printing/providers/localspl/tools.c b/win32ss/printing/providers/localspl/tools.c index 16c433e4e39..764877d664e 100644 --- a/win32ss/printing/providers/localspl/tools.c +++ b/win32ss/printing/providers/localspl/tools.c @@ -120,7 +120,7 @@ LONG copy_servername_from_name(LPCWSTR name, LPWSTR target) len = ARRAYSIZE(buffer); if (GetComputerNameW(buffer, &len)) { - if ((serverlen == len) && (wcsnicmp(server, buffer, len) == 0)) + if ((serverlen == len) && (_wcsnicmp(server, buffer, len) == 0)) { /* The requested Servername is our computername */ return 0;