Lines 161-180
Link Here
|
161 |
|
161 |
|
162 |
|
162 |
|
163 |
#if !defined (_STLP_BIG_ENDIAN) && ! defined (_STLP_LITTLE_ENDIAN) |
163 |
#if !defined (_STLP_BIG_ENDIAN) && ! defined (_STLP_LITTLE_ENDIAN) |
164 |
# if defined (_MIPSEB) || defined (__sparc) || defined (_AIX) || \ |
164 |
# include <endian.h> |
165 |
defined (__hpux) || defined (macintosh) || defined (_MAC) |
165 |
# if __BYTE_ORDER == __BIG_ENDIAN |
166 |
# define _STLP_BIG_ENDIAN 1 |
166 |
# define _STLP_BIG_ENDIAN 1 |
167 |
# elif defined (__i386) || defined (_M_IX86) || defined (_M_ARM) || \ |
167 |
# elif __BYTE_ORDER == __LITTLE_ENDIAN |
168 |
defined (__amd64__) || defined (_M_AMD64) || defined (__x86_64__) || \ |
|
|
169 |
defined (__alpha__) |
170 |
# define _STLP_LITTLE_ENDIAN 1 |
168 |
# define _STLP_LITTLE_ENDIAN 1 |
171 |
# elif defined (__ia64__) |
|
|
172 |
/* itanium allows both settings (for instance via gcc -mbig-endian) - hence a seperate check is required */ |
173 |
# if defined (__BIG_ENDIAN__) |
174 |
# define _STLP_BIG_ENDIAN 1 |
175 |
# else |
176 |
# define _STLP_LITTLE_ENDIAN 1 |
177 |
# endif |
178 |
# else |
169 |
# else |
179 |
# error "can't determine endianess" |
170 |
# error "can't determine endianess" |
180 |
# endif |
171 |
# endif |