support mac on little endian systems

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2005-06-07 03:25:23 +00:00
parent 8c18c674f5
commit 080c6eeca7
2 changed files with 3 additions and 1 deletions

View File

@@ -84,7 +84,9 @@
#define SOCKLEN_T socklen_t
#define STDC_HEADERS 1
#define TARGET_CARBON 1
#if __BIG_ENDIAN__
#define WORDS_BIGENDIAN 1
#endif
#define WXWIN_COMPATIBILITY_2_4 1
#define WXWIN_OS_DESCRIPTION "Darwin 7.3.0 Power Macintosh"
#define WX_GMTOFF_IN_TM 1

View File

@@ -555,7 +555,7 @@
#endif
#if defined (__WXMAC__)
# ifndef WORDS_BIGENDIAN
# ifndef WORDS_BIGENDIAN && ( !defined(__MACH__) || ( defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ ) )
# define WORDS_BIGENDIAN 1
# endif
#endif