XEmacs 21.2.24 "Hecate".
[chise/xemacs-chise.git.1] / src / console-msw.h
index 19d01d0..f3a6c3b 100644 (file)
@@ -38,7 +38,8 @@ Boston, MA 02111-1307, USA.  */
 #endif
 #include <windows.h>
 #include <ddeml.h>     /* DDE management library */
-#if !defined(__CYGWIN32__) && !defined(__MINGW32__)
+#if !defined(__CYGWIN32__) && !defined(__MINGW32__) \
+       || CYGWIN_VERSION_DLL_MAJOR > 20
 #include <shellapi.h>  /* FileManager/Explorer drag and drop */
 #include <commctrl.h>
 #endif