avifil32: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-05-28 07:35:57 +02:00
parent bc27abc14c
commit cdf1e763bf
4 changed files with 5 additions and 6 deletions

View File

@ -2,6 +2,8 @@ MODULE = avifil32.dll
IMPORTLIB = avifil32
IMPORTS = uuid msacm32 msvfw32 winmm ole32 user32 advapi32 rpcrt4
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
acmstream.c \
api.c \

View File

@ -38,7 +38,6 @@
#include "avifile_private.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(avifile);
@ -155,7 +154,7 @@ static BOOL AVIFILE_GetFileHandlerByExtension(LPCWSTR szFile, LPCLSID lpclsid)
{
CHAR szRegKey[25];
CHAR szValue[100];
LPWSTR szExt = strrchrW(szFile, '.');
LPWSTR szExt = wcsrchr(szFile, '.');
LONG len = ARRAY_SIZE(szValue);
if (szExt == NULL)

View File

@ -46,7 +46,6 @@
#include "avifile_private.h"
#include "extrachunk.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(avifile);
@ -625,7 +624,7 @@ static HRESULT WINAPI IPersistFile_fnGetCurFile(IPersistFile *iface, LPOLESTR *p
if (*ppszFileName == NULL)
return AVIERR_MEMORY;
strcpyW(*ppszFileName, This->szFileName);
lstrcpyW(*ppszFileName, This->szFileName);
}
return AVIERR_OK;

View File

@ -33,7 +33,6 @@
#include "avifile_private.h"
#include "extrachunk.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(avifile);
@ -575,7 +574,7 @@ static HRESULT WINAPI IPersistFile_fnGetCurFile(IPersistFile *iface, LPOLESTR *p
if (*ppszFileName == NULL)
return AVIERR_MEMORY;
strcpyW(*ppszFileName, This->szFileName);
lstrcpyW(*ppszFileName, This->szFileName);
}
return AVIERR_OK;