Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/ntplay.c Mon Aug 13 11:12:06 2007 +0200 +++ b/src/ntplay.c Mon Aug 13 11:13:30 2007 +0200 @@ -19,13 +19,13 @@ 02111-1307, USA.*/ #include <windows.h> -#undef CONST #include <config.h> #include <stdio.h> #include "sysfile.h" #include "lisp.h" -#ifdef __CYGWIN32__ +#if (defined (__CYGWIN32__) || defined(__MINGW32__)) && \ + CYGWIN_VERSION_DLL_MAJOR < 21 extern BOOL WINAPI PlaySound(LPCSTR,HMODULE,DWORD); #else #include <mmsystem.h>