mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:00:30 +00:00
xolehlp: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
705d089259
commit
335388caca
|
@ -1,4 +1,6 @@
|
|||
MODULE = xolehlp.dll
|
||||
IMPORTS = adsiid uuid
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
|
||||
C_SRCS = xolehlp.c
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue