Mercurial > hg > xemacs-beta
comparison src/ntplay.c @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | cc15677e0335 |
children | a86b2b5e0111 |
comparison
equal
deleted
inserted
replaced
397:f4aeb21a5bad | 398:74fd4e045ea6 |
---|---|
17 along with XEmacs; see the file COPYING. If not, write to the Free | 17 along with XEmacs; see the file COPYING. If not, write to the Free |
18 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 18 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
19 02111-1307, USA.*/ | 19 02111-1307, USA.*/ |
20 | 20 |
21 #include <windows.h> | 21 #include <windows.h> |
22 #undef CONST | |
23 #include <config.h> | 22 #include <config.h> |
24 #include <stdio.h> | 23 #include <stdio.h> |
25 #include "sysfile.h" | 24 #include "sysfile.h" |
26 #include "lisp.h" | 25 #include "lisp.h" |
27 | 26 |
28 #ifdef __CYGWIN32__ | 27 #if (defined (__CYGWIN32__) || defined(__MINGW32__)) && \ |
28 CYGWIN_VERSION_DLL_MAJOR < 21 | |
29 extern BOOL WINAPI PlaySound(LPCSTR,HMODULE,DWORD); | 29 extern BOOL WINAPI PlaySound(LPCSTR,HMODULE,DWORD); |
30 #else | 30 #else |
31 #include <mmsystem.h> | 31 #include <mmsystem.h> |
32 #endif | 32 #endif |
33 static void play_sound_data_1 (unsigned char *data, int length, | 33 static void play_sound_data_1 (unsigned char *data, int length, |