Ignore:
Timestamp:
Oct 24, 2011 9:28:13 AM (13 years ago)
Author:
ming
Message:

Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunk

TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjlib/include/pj/config.h

    r3808 r3841  
    171171        defined(__IA64__) || defined(   _M_IA64) 
    172172    /* 
    173      * Intel IA64 processor, little endian 
     173     * Intel IA64 processor, default to little endian 
    174174     */ 
    175175#   undef PJ_M_IA64 
     
    209209        defined(__MIPS__) || defined(MIPS) || defined(_MIPS_) 
    210210    /* 
    211      * MIPS, default to little endian 
     211     * MIPS, bi-endian, so raise error if endianness is not configured 
    212212     */ 
    213213#   undef PJ_M_MIPS 
     
    215215#   define PJ_M_NAME            "mips" 
    216216#   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 
    220219#   endif 
    221220 
     
    235234        defined(ARMV4) || defined(__arm__) 
    236235    /* 
    237      * ARM, default to little endian 
     236     * ARM, bi-endian, so raise error if endianness is not configured 
    238237     */ 
    239238#   undef PJ_M_ARMV4 
     
    241240#   define PJ_M_NAME            "armv4" 
    242241#   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 
    246244#   endif 
    247245 
     
    250248        defined(_ARCH_PPC) 
    251249    /* 
    252      * PowerPC, big endian 
     250     * PowerPC, bi-endian, so raise error if endianness is not configured 
    253251     */ 
    254252#   undef PJ_M_POWERPC 
     
    256254#   define PJ_M_NAME            "powerpc" 
    257255#   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 
    260259 
    261260#elif defined (PJ_M_NIOS2) || defined(__nios2) || defined(__nios2__) || \ 
Note: See TracChangeset for help on using the changeset viewer.