Ignore:
Timestamp:
Jan 23, 2008 1:42:01 PM (16 years ago)
Author:
bennylp
Message:

Added stdint.h detection (PJ_HAS_STDINT_H) and minor fix in transport_srtp.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/users/nanang/third_party/build/srtp/srtp_config.h

    r1719 r1728  
    100100#define HAVE_UINT64_T       1 
    101101 
    102 typedef pj_uint8_t          uint8_t; 
    103 typedef pj_uint16_t         uint16_t; 
    104 typedef pj_uint32_t         uint32_t; 
    105 typedef pj_uint64_t         uint64_t; 
    106 typedef pj_int8_t           int8_t; 
    107 typedef pj_int16_t          int16_t; 
    108 typedef pj_int32_t          int32_t; 
    109 typedef pj_int64_t          int64_t; 
     102/* Define to 1 if you have the <stdint.h> header file. */ 
     103#if defined(PJ_HAS_STDINT_H) && PJ_HAS_STDINT_H!=0 
     104#   define HAVE_STDINT_H    1 
     105#else 
     106    typedef pj_uint8_t      uint8_t; 
     107    typedef pj_uint16_t     uint16_t; 
     108    typedef pj_uint32_t     uint32_t; 
     109    typedef pj_uint64_t     uint64_t; 
     110    typedef pj_int8_t       int8_t; 
     111    typedef pj_int16_t      int16_t; 
     112    typedef pj_int32_t      int32_t; 
     113    typedef pj_int64_t      int64_t; 
     114#endif 
    110115 
    111116#define SIZEOF_UNSIGNED_LONG        (sizeof(unsigned long)) 
     
    160165/* #undef HAVE_MACHINE_TYPES_H */ 
    161166 
    162 /* Define to 1 if you have the <stdint.h> header file. */ 
    163 /* #undef HAVE_STDINT_H */ 
    164167 
    165168/* Define to 1 if you have the <strings.h> header file. */ 
Note: See TracChangeset for help on using the changeset viewer.