]> git.saurik.com Git - wxWidgets.git/commitdiff
fix problems with __POWERPC__ being redefined
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Aug 2005 15:53:22 +0000 (15:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Aug 2005 15:53:22 +0000 (15:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/platform.h

index 6c2ceecbb546efab826f05b96bb531b9947450dc..3841c8c6ba797e27fe4605d656096456e53ea4a8 100644 (file)
 #   endif
 #endif
 
+/*
+   Include wx/setup.h for the Unix platform defines generated by configure and
+   the library compilation options
+
+   Note that it must be included before defining hardware symbols below as they
+   could be already defined by configure
+ */
+#include "wx/setup.h"
+
 /*
    Hardware platform detection.
 
     #endif
 #endif /* alpha */
 
-/*
-   Include wx/setup.h for the Unix platform defines generated by configure and
-   the library compilation options
- */
-#include "wx/setup.h"
 
 /*
    adjust the Unicode setting: wxUSE_UNICODE should be defined as 0 or 1