Alexandre Julliard : xolehlp: Build with msvcrt.
Alexandre Julliard
julliard at winehq.org
Fri Jun 28 04:11:26 CDT 2019
Module: wine
Branch: master
Commit: 335388cacac169d6716b9c076865facc940401f5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=335388cacac169d6716b9c076865facc940401f5
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Jun 27 21:49:33 2019 +0200
xolehlp: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/xolehlp/Makefile.in | 2 ++
dlls/xolehlp/xolehlp.c | 5 ++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/xolehlp/Makefile.in b/dlls/xolehlp/Makefile.in
index 58651a1..37b1d01 100644
--- a/dlls/xolehlp/Makefile.in
+++ b/dlls/xolehlp/Makefile.in
@@ -1,4 +1,6 @@
MODULE = xolehlp.dll
IMPORTS = adsiid uuid
+EXTRADLLFLAGS = -mno-cygwin
+
C_SRCS = xolehlp.c
diff --git a/dlls/xolehlp/xolehlp.c b/dlls/xolehlp/xolehlp.c
index 2a741f4..4baf31f 100644
--- a/dlls/xolehlp/xolehlp.c
+++ b/dlls/xolehlp/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;
}
More information about the wine-cvs
mailing list