]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/joystick.cpp
Fixed toolbar crash for MinGW/Cygwin
[wxWidgets.git] / src / msw / joystick.cpp
index 28c0752f0595ba5cb3f2ee757bb3dbdcfc20190f..b8920854e6e1625284869f0c723279914196094c 100644 (file)
@@ -24,7 +24,7 @@
 #include "wx/window.h"
 #include "wx/msw/private.h"
 
-#ifndef __GNUWIN32_OLD__
+#if !defined(__GNUWIN32_OLD__) || defined(__CYGWIN10__)
     #include <mmsystem.h>
 #endif