Commit 3e80b93f authored by Alexandre Julliard's avatar Alexandre Julliard

dsound: Build with msvcrt.

parent 63360ad4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment