winemsibuilder: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-05-02 09:31:02 +02:00
parent 4a8ae1c0f4
commit d87da76156
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,6 @@
MODULE = winemsibuilder.exe MODULE = winemsibuilder.exe
APPMODE = -mconsole -municode
IMPORTS = msi ole32 IMPORTS = msi ole32
EXTRADLLFLAGS = -mconsole -municode -mno-cygwin
C_SRCS = main.c C_SRCS = main.c

View File

@ -28,7 +28,6 @@
#include <objbase.h> #include <objbase.h>
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(winemsibuilder); WINE_DEFAULT_DEBUG_CHANNEL(winemsibuilder);
@ -131,7 +130,7 @@ static WCHAR *encode_stream( const WCHAR *in )
DWORD c, next, count; DWORD c, next, count;
WCHAR *out, *p; WCHAR *out, *p;
count = strlenW( in ); count = lstrlenW( in );
if (count > MAX_STREAM_NAME) if (count > MAX_STREAM_NAME)
return NULL; return NULL;