From: Vadim Zeitlin Date: Sun, 7 Aug 2005 15:53:22 +0000 (+0000) Subject: fix problems with __POWERPC__ being redefined X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/592a74653422b4bb8bd90e566e6612d8c0930e67 fix problems with __POWERPC__ being redefined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/platform.h b/include/wx/platform.h index 6c2ceecbb5..3841c8c6ba 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -180,6 +180,15 @@ # 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. @@ -209,11 +218,6 @@ #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