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 MODULE = xolehlp.dll
IMPORTS = adsiid uuid IMPORTS = adsiid uuid
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = xolehlp.c C_SRCS = xolehlp.c

View File

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