mcicda: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-06-10 10:58:17 +02:00
parent 3e95920286
commit 5007d26027
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,7 @@
MODULE = mcicda.dll MODULE = mcicda.dll
IMPORTS = winmm user32 IMPORTS = winmm user32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
mcicda.c mcicda.c

View File

@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
@ -36,7 +35,6 @@
#include "ntddcdrm.h" #include "ntddcdrm.h"
#include "winternl.h" #include "winternl.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
#include "dsound.h" #include "dsound.h"
WINE_DEFAULT_DEBUG_CHANNEL(mcicda); WINE_DEFAULT_DEBUG_CHANNEL(mcicda);
@ -683,7 +681,7 @@ static DWORD MCICDA_Info(UINT wDevID, DWORD dwFlags, LPMCI_INFO_PARMSW lpParms)
} }
res = CDROM_Audio_GetSerial(&toc); res = CDROM_Audio_GetSerial(&toc);
sprintfW(buffer, wszLu, res); swprintf(buffer, ARRAY_SIZE(buffer), wszLu, res);
str = buffer; str = buffer;
} else { } else {
WARN("Don't know this info command (%u)\n", dwFlags); WARN("Don't know this info command (%u)\n", dwFlags);