dsound: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Alexandre Julliard 2019-06-03 10:34:35 +02:00
parent 63360ad490
commit 3e80b93f90
3 changed files with 3 additions and 4 deletions

View File

@ -2,6 +2,8 @@ MODULE = dsound.dll
IMPORTLIB = dsound
IMPORTS = dxguid uuid winmm ole32 advapi32 user32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
buffer.c \
capture.c \

View File

@ -34,8 +34,6 @@
* Sound is LITTLE endian
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <math.h>

View File

@ -31,7 +31,6 @@
#include "uuids.h"
#include "wine/list.h"
#include "wine/unicode.h"
#define DS_MAX_CHANNELS 6
@ -272,7 +271,7 @@ static inline WCHAR *strdupW( const WCHAR *str )
WCHAR *ret;
if (!str) return NULL;
size = (strlenW( str ) + 1) * sizeof(WCHAR);
size = (lstrlenW( str ) + 1) * sizeof(WCHAR);
ret = HeapAlloc( GetProcessHeap(), 0, size );
if (ret) memcpy( ret, str, size );
return ret;