dsound: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
63360ad490
commit
3e80b93f90
|
@ -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 \
|
||||
|
|
|
@ -34,8 +34,6 @@
|
|||
* Sound is LITTLE endian
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <math.h>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue