Changeset 3841 for pjproject/trunk/pjlib/include/pj/config.h
- Timestamp:
- Oct 24, 2011 9:28:13 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
-
pjproject/trunk/pjlib/include/pj/config.h
r3808 r3841 171 171 defined(__IA64__) || defined( _M_IA64) 172 172 /* 173 * Intel IA64 processor, little endian173 * Intel IA64 processor, default to little endian 174 174 */ 175 175 # undef PJ_M_IA64 … … 209 209 defined(__MIPS__) || defined(MIPS) || defined(_MIPS_) 210 210 /* 211 * MIPS, default to little endian211 * MIPS, bi-endian, so raise error if endianness is not configured 212 212 */ 213 213 # undef PJ_M_MIPS … … 215 215 # define PJ_M_NAME "mips" 216 216 # define PJ_HAS_PENTIUM 0 217 # if !defined(PJ_IS_LITTLE_ENDIAN) && !defined(PJ_IS_BIG_ENDIAN) 218 # define PJ_IS_LITTLE_ENDIAN 1 219 # define PJ_IS_BIG_ENDIAN 0 217 # if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN 218 # error Endianness must be declared for this processor 220 219 # endif 221 220 … … 235 234 defined(ARMV4) || defined(__arm__) 236 235 /* 237 * ARM, default to little endian236 * ARM, bi-endian, so raise error if endianness is not configured 238 237 */ 239 238 # undef PJ_M_ARMV4 … … 241 240 # define PJ_M_NAME "armv4" 242 241 # define PJ_HAS_PENTIUM 0 243 # if !defined(PJ_IS_LITTLE_ENDIAN) && !defined(PJ_IS_BIG_ENDIAN) 244 # define PJ_IS_LITTLE_ENDIAN 1 245 # define PJ_IS_BIG_ENDIAN 0 242 # if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN 243 # error Endianness must be declared for this processor 246 244 # endif 247 245 … … 250 248 defined(_ARCH_PPC) 251 249 /* 252 * PowerPC, bi g endian250 * PowerPC, bi-endian, so raise error if endianness is not configured 253 251 */ 254 252 # undef PJ_M_POWERPC … … 256 254 # define PJ_M_NAME "powerpc" 257 255 # define PJ_HAS_PENTIUM 0 258 # define PJ_IS_LITTLE_ENDIAN 0 259 # define PJ_IS_BIG_ENDIAN 1 256 # if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN 257 # error Endianness must be declared for this processor 258 # endif 260 259 261 260 #elif defined (PJ_M_NIOS2) || defined(__nios2) || defined(__nios2__) || \
Note: See TracChangeset
for help on using the changeset viewer.