forked from Mirrors/wine-wine
dsound: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>stable
parent
63360ad490
commit
3e80b93f90
|
@ -2,6 +2,8 @@ MODULE = dsound.dll
|
||||||
IMPORTLIB = dsound
|
IMPORTLIB = dsound
|
||||||
IMPORTS = dxguid uuid winmm ole32 advapi32 user32
|
IMPORTS = dxguid uuid winmm ole32 advapi32 user32
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
buffer.c \
|
buffer.c \
|
||||||
capture.c \
|
capture.c \
|
||||||
|
|
|
@ -34,8 +34,6 @@
|
||||||
* Sound is LITTLE endian
|
* Sound is LITTLE endian
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "wine/port.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#include "uuids.h"
|
#include "uuids.h"
|
||||||
|
|
||||||
#include "wine/list.h"
|
#include "wine/list.h"
|
||||||
#include "wine/unicode.h"
|
|
||||||
|
|
||||||
#define DS_MAX_CHANNELS 6
|
#define DS_MAX_CHANNELS 6
|
||||||
|
|
||||||
|
@ -272,7 +271,7 @@ static inline WCHAR *strdupW( const WCHAR *str )
|
||||||
WCHAR *ret;
|
WCHAR *ret;
|
||||||
|
|
||||||
if (!str) return NULL;
|
if (!str) return NULL;
|
||||||
size = (strlenW( str ) + 1) * sizeof(WCHAR);
|
size = (lstrlenW( str ) + 1) * sizeof(WCHAR);
|
||||||
ret = HeapAlloc( GetProcessHeap(), 0, size );
|
ret = HeapAlloc( GetProcessHeap(), 0, size );
|
||||||
if (ret) memcpy( ret, str, size );
|
if (ret) memcpy( ret, str, size );
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue