]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
correction for compilation with -cpp-precomp option
[wxWidgets.git] / include / wx / msw / private.h
index 0f012b199428945710f7824675b4120856d082a2..1c4136e33a0b69c38ebdfe2ab7a53cb09e909f66 100644 (file)
@@ -68,7 +68,7 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT;
 // this defines a CASTWNDPROC macro which casts a pointer to the type of a
 // window proc
 
-#ifdef __GNUWIN32_OLD__
+#if defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)
     #define CASTWNDPROC (long unsigned)
 #else
     #if defined(STRICT) || defined(__GNUC__)