Changeset 2528


Ignore:
Timestamp:
Mar 23, 2009 12:09:19 PM (16 years ago)
Author:
bennylp
Message:

Ticket #750: back-porting ticket #749

Location:
pjproject/branches/1.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.0

  • pjproject/branches/1.0/pjlib/include/pj/compat/m_auto.h.in

    r2394 r2528  
    2929#undef PJ_M_NAME 
    3030 
    31 /* Endianness, as detected by autoconf */ 
    32 #undef WORDS_BIGENDIAN 
     31/* Endianness. It's reported on pjsip list on 09/02/13 that autoconf 
     32 * endianness detection failed for universal build, so special case 
     33 * for it here. Thanks Ruud Klaver for the fix. 
     34 */ 
     35#ifdef PJ_DARWINOS 
     36#  ifdef __BIG_ENDIAN__ 
     37#    define WORDS_BIGENDIAN     1 
     38#  endif 
     39#else 
     40    /* Endianness, as detected by autoconf */ 
     41#  undef WORDS_BIGENDIAN 
     42#endif 
    3343 
    3444#ifdef WORDS_BIGENDIAN 
     
    4858 
    4959#endif  /* __PJ_COMPAT_M_AUTO_H__ */ 
     60 
Note: See TracChangeset for help on using the changeset viewer.