Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
29 #ifndef __IEEE_BIG_ENDIAN
30 #ifndef __IEEE_LITTLE_ENDIAN
33 EPOC safety net - Check various EPOC defines to ensure that
34 we get an appropriate endianness choice
36 #if (defined(__WINS__) || defined(__MX86__)) && !defined(__i386__)
38 #elif defined(__MARM__) && !defined(__arm__)
45 EABI supports the VFP specification, where the ordering of the words
46 matches the endianness.
48 #define __IEEE_LITTLE_ENDIAN
51 Pre-VFP, ARM used the big endian ordering of the words, regardless of
54 #define __IEEE_BIG_ENDIAN
60 #define __IEEE_BIG_ENDIAN
65 #define __IEEE_BIG_ENDIAN
68 #if defined(__m68k__) || defined(__mc68000__)
70 #define __IEEE_BIG_ENDIAN
73 #if defined (__H8300__) || defined (__H8300H__)
75 #define __IEEE_BIG_ENDIAN
76 #define __SMALL_BITFIELDS
77 #define _DOUBLE_IS_32BITS
82 #define __IEEE_BIG_ENDIAN
83 #define __SMALL_BITFIELDS
84 #define _DOUBLE_IS_32BITS
88 #ifdef __LITTLE_ENDIAN__
90 #define __IEEE_LITTLE_ENDIAN
92 #define __IEEE_BIG_ENDIAN
96 #define _DOUBLE_IS_32BITS
102 #define __IEEE_BIG_ENDIAN
105 /* Added "&& !defined(__arm__)" to avoid the duplicate definition of the
106 __ieee_[float|double]_shape_type structures in stdlib\LINC\IEEEFP.h
107 conditionally compiled using the __IEEE_LITTLE_ENDIAN && __IEEE_BIG_ENDIAN
108 in GCCXML builds. This is a work around as we can't get gccxml to stop
109 defining __i386__ as it's defined in the "<built-in>" header file of the
112 #if defined(__i386__) && !defined(__arm__)
114 #define __IEEE_LITTLE_ENDIAN
119 #define __IEEE_LITTLE_ENDIAN
124 #define __IEEE_LITTLE_ENDIAN
128 #define __IEEE_BIG_ENDIAN
132 necv70 was __IEEE_LITTLE_ENDIAN.
137 #define __IEEE_LITTLE_ENDIAN
138 #define __SMALL_BITFIELDS
139 #define _DOUBLE_IS_32BITS
142 #if defined(__Z8001__) || defined(__Z8002__)
144 #define __IEEE_BIG_ENDIAN
149 #define __IEEE_BIG_ENDIAN
154 #define __IEEE_LITTLE_ENDIAN
160 #define __IEEE_BIG_ENDIAN
163 #define __IEEE_LITTLE_ENDIAN
169 #define __IEEE_LITTLE_ENDIAN /* always little-endian M*Core for EPOC */
172 #ifndef __IEEE_BIG_ENDIAN
173 #ifndef __IEEE_LITTLE_ENDIAN
174 #error Endianess not declared!!
175 #endif /* not __IEEE_LITTLE_ENDIAN */
176 #endif /* not __IEEE_BIG_ENDIAN */
178 #endif /* not __IEEE_LITTLE_ENDIAN */
179 #endif /* not __IEEE_BIG_ENDIAN */