Ignore:
Timestamp:
Mar 13, 2009 12:15:43 PM (15 years ago)
Author:
bennylp
Message:

Ticket #729: MacOS X endianness detection on universal build (thanks Ruud Klaver for the patch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/compat/m_auto.h.in

    r2394 r2510  
    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.