comparison src/ntplay.c @ 430:a5df635868b2 r21-2-23

Import from CVS: tag r21-2-23
author cvs
date Mon, 13 Aug 2007 11:29:08 +0200
parents 3ecd8885ac67
children abe6d1db359e
comparison
equal deleted inserted replaced
429:8305706cbb93 430:a5df635868b2
23 #include <config.h> 23 #include <config.h>
24 #include <stdio.h> 24 #include <stdio.h>
25 #include "sysfile.h" 25 #include "sysfile.h"
26 #include "lisp.h" 26 #include "lisp.h"
27 27
28 #if defined (__CYGWIN32__) || defined(__MINGW32__) 28 #if (defined (__CYGWIN32__) || defined(__MINGW32__)) && \
29 CYGWIN_VERSION_DLL_MAJOR < 21
29 extern BOOL WINAPI PlaySound(LPCSTR,HMODULE,DWORD); 30 extern BOOL WINAPI PlaySound(LPCSTR,HMODULE,DWORD);
30 #else 31 #else
31 #include <mmsystem.h> 32 #include <mmsystem.h>
32 #endif 33 #endif
33 static void play_sound_data_1 (unsigned char *data, int length, 34 static void play_sound_data_1 (unsigned char *data, int length,