From 592a74653422b4bb8bd90e566e6612d8c0930e67 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 7 Aug 2005 15:53:22 +0000 Subject: [PATCH] fix problems with __POWERPC__ being redefined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/platform.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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 -- 2.50.0