mciwave: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8ce096a9f0
commit
f33a33700d
|
@ -1,5 +1,7 @@
|
||||||
MODULE = mciwave.dll
|
MODULE = mciwave.dll
|
||||||
IMPORTS = winmm user32
|
IMPORTS = winmm user32
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
mciwave.c
|
mciwave.c
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
#include "wownt32.h"
|
#include "wownt32.h"
|
||||||
#include "digitalv.h"
|
#include "digitalv.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "wine/unicode.h"
|
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(mciwave);
|
WINE_DEFAULT_DEBUG_CHANNEL(mciwave);
|
||||||
|
|
||||||
|
@ -466,7 +465,7 @@ static LRESULT WAVE_mciOpenFile(WINE_MCIWAVE* wmw, LPCWSTR filename)
|
||||||
|
|
||||||
fn = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(filename) + 1) * sizeof(WCHAR));
|
fn = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(filename) + 1) * sizeof(WCHAR));
|
||||||
if (!fn) return MCIERR_OUT_OF_MEMORY;
|
if (!fn) return MCIERR_OUT_OF_MEMORY;
|
||||||
strcpyW(fn, filename);
|
lstrcpyW(fn, filename);
|
||||||
HeapFree(GetProcessHeap(), 0, wmw->lpFileName);
|
HeapFree(GetProcessHeap(), 0, wmw->lpFileName);
|
||||||
wmw->lpFileName = fn;
|
wmw->lpFileName = fn;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue