XEmacs 21.2.24 "Hecate".
[chise/xemacs-chise.git.1] / src / ntplay.c
index 2b85ab8..398e27a 100644 (file)
@@ -25,7 +25,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 #include "sysfile.h"
 #include "lisp.h"
 
-#if defined (__CYGWIN32__) || defined(__MINGW32__)
+#if (defined (__CYGWIN32__) || defined(__MINGW32__)) && \
+       CYGWIN_VERSION_DLL_MAJOR < 21
 extern BOOL WINAPI PlaySound(LPCSTR,HMODULE,DWORD);
 #else
 #include <mmsystem.h>