]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
Getting various compilers to work with wxWin again
[wxWidgets.git] / include / wx / msw / private.h
index e960fad8806bb6d9b8c92f55d929bd34cafe858a..7e46709d654b86166f326791c23848a4f548bd52 100644 (file)
@@ -54,7 +54,8 @@ 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__
+
+#if defined(__GNUWIN32__) && !defined(__MINGW32__)
 #  define CASTWNDPROC (long unsigned)
 #else
 #  ifdef __BORLANDC__