]> 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 8af2cfce9a8397271c92a773c31f2f4c32f7cdb9..1c4136e33a0b69c38ebdfe2ab7a53cb09e909f66 100644 (file)
@@ -59,7 +59,7 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT;
 // define things missing from some compilers' headers
 // ---------------------------------------------------------------------------
 
-#if defined(__GNUWIN32__) && !defined(wxUSE_NORLANDER_HEADERS)
+#if defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS
 #ifndef ZeroMemory
     inline void ZeroMemory(void *buf, size_t len) { memset(buf, 0, len); }
 #endif
@@ -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__)