]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dosyacc.c
Applied patch [ 705663 ] Fix capture mouse bug in wxGrid
[wxWidgets.git] / src / common / dosyacc.c
index 9fce511cdab9d08040eb0237080490c2fdfe85b9..802a8045caa627a380e108d22528512ee9c971fb 100644 (file)
@@ -1,4 +1,6 @@
-#ifdef WIN32
+/* include platform.h first to get __WIN32__ definition */
+#include "wx/platform.h"
+#if defined(__WIN32__) || defined(__GNUWIN32__)
 /* all Win32 compilers can handle C++ comments, and C++ comments
    is the only C++ in setup.h */
 #include "wx/setup.h"