xolehlp: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-06-27 21:49:33 +02:00
parent 705d089259
commit 335388caca
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,6 @@
MODULE = xolehlp.dll
IMPORTS = adsiid uuid
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = xolehlp.c

View file

@ -23,7 +23,6 @@
#include "transact.h"
#include "initguid.h"
#include "txdtc.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(xolehlp);
@ -662,8 +661,8 @@ static BOOL is_local_machineW( const WCHAR *server )
WCHAR buffer[MAX_COMPUTERNAME_LENGTH + 1];
DWORD len = ARRAY_SIZE( buffer );
if (!server || !strcmpW( server, dotW )) return TRUE;
if (GetComputerNameW( buffer, &len ) && !strcmpiW( server, buffer )) return TRUE;
if (!server || !wcscmp( server, dotW )) return TRUE;
if (GetComputerNameW( buffer, &len ) && !wcsicmp( server, buffer )) return TRUE;
return FALSE;
}