- Timestamp:
- Sep 22, 2011 2:42:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjlib/include/pj/config.h
r3556 r3766 166 166 defined(__IA64__) || defined( _M_IA64) 167 167 /* 168 * Intel IA64 processor, little endian168 * Intel IA64 processor, default to little endian 169 169 */ 170 170 # undef PJ_M_IA64 … … 204 204 defined(__MIPS__) || defined(MIPS) || defined(_MIPS_) 205 205 /* 206 * MIPS, default to little endian206 * MIPS, bi-endian, so raise error if endianness is not configured 207 207 */ 208 208 # undef PJ_M_MIPS … … 210 210 # define PJ_M_NAME "mips" 211 211 # define PJ_HAS_PENTIUM 0 212 # if !defined(PJ_IS_LITTLE_ENDIAN) && !defined(PJ_IS_BIG_ENDIAN) 213 # define PJ_IS_LITTLE_ENDIAN 1 214 # define PJ_IS_BIG_ENDIAN 0 212 # if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN 213 # error Endianness must be declared for this processor 215 214 # endif 216 215 … … 230 229 defined(ARMV4) || defined(__arm__) 231 230 /* 232 * ARM, default to little endian231 * ARM, bi-endian, so raise error if endianness is not configured 233 232 */ 234 233 # undef PJ_M_ARMV4 … … 236 235 # define PJ_M_NAME "armv4" 237 236 # define PJ_HAS_PENTIUM 0 238 # if !defined(PJ_IS_LITTLE_ENDIAN) && !defined(PJ_IS_BIG_ENDIAN) 239 # define PJ_IS_LITTLE_ENDIAN 1 240 # define PJ_IS_BIG_ENDIAN 0 237 # if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN 238 # error Endianness must be declared for this processor 241 239 # endif 242 240 … … 245 243 defined(_ARCH_PPC) 246 244 /* 247 * PowerPC, bi g endian245 * PowerPC, bi-endian, so raise error if endianness is not configured 248 246 */ 249 247 # undef PJ_M_POWERPC … … 251 249 # define PJ_M_NAME "powerpc" 252 250 # define PJ_HAS_PENTIUM 0 253 # define PJ_IS_LITTLE_ENDIAN 0 254 # define PJ_IS_BIG_ENDIAN 1 251 # if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN 252 # error Endianness must be declared for this processor 253 # endif 255 254 256 255 #elif defined (PJ_M_NIOS2) || defined(__nios2) || defined(__nios2__) || \
Note: See TracChangeset
for help on using the changeset viewer.