]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix: include wx/platform.h before testing for __WIN32__
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Mar 2003 02:15:55 +0000 (02:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Mar 2003 02:15:55 +0000 (02:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dosyacc.c

index 14672306db05b05c047f24023b31379a147a8d68..802a8045caa627a380e108d22528512ee9c971fb 100644 (file)
@@ -1,3 +1,5 @@
+/* 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 */