]> git.pld-linux.org Git - packages/STLport.git/blame - STLport-endianness.patch
- reverted last 2 changes (openoffice.org doesn't like stlport-5.1.0)
[packages/STLport.git] / STLport-endianness.patch
CommitLineData
d0f408d6
SS
1--- STLport/stlport/stl/config/features.h.orig 2005-10-09 17:21:35.000000000 +0200
2+++ STLport/stlport/stl/config/features.h 2005-11-09 09:28:38.949726000 +0100
3@@ -173,15 +173,15 @@
4 #endif
c0836817 5
d0f408d6 6 #if !defined (_STLP_BIG_ENDIAN) && !defined (_STLP_LITTLE_ENDIAN)
c0836817
PS
7-# if defined (_MIPSEB) || defined (__sparc) || defined (_AIX) || \
8+# if defined (_MIPSEB) || defined (__sparc__) || defined (_AIX) || \
9 defined (__hpux) || defined (macintosh) || defined (_MAC)
10 # define _STLP_BIG_ENDIAN 1
11 # elif defined (__i386) || defined (_M_IX86) || defined (_M_ARM) || \
12 defined (__amd64__) || defined (_M_AMD64) || defined (__x86_64__) || \
13 defined (__alpha__)
14 # define _STLP_LITTLE_ENDIAN 1
15-# elif defined (__ia64__)
16- /* itanium allows both settings (for instance via gcc -mbig-endian) - hence a seperate check is required */
17+# elif defined (__ia64__) || defined (__powerpc__)
d0f408d6 18+ /* itanium and powerpc allows both settings (for instance via gcc -mbig-endian) - hence a seperate check is required */
c0836817
PS
19 # if defined (__BIG_ENDIAN__)
20 # define _STLP_BIG_ENDIAN 1
21 # else
This page took 0.032575 seconds and 4 git commands to generate.