[LocalSpl] Fix MsVC Builds

Fix unresolved external symbol.
This commit is contained in:
James Tabor 2020-08-26 17:37:17 -05:00
parent c166933135
commit 19caafcb9e

View File

@ -120,7 +120,7 @@ LONG copy_servername_from_name(LPCWSTR name, LPWSTR target)
len = ARRAYSIZE(buffer); len = ARRAYSIZE(buffer);
if (GetComputerNameW(buffer, &len)) 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 */ /* The requested Servername is our computername */
return 0; return 0;