Ignore:
Timestamp:
Jun 21, 2016 6:55:10 AM (6 years ago)
Author:
riza
Message:

Re #1933: Update pjnath-test for IPv6 support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath-test/test.h

    r4360 r5350  
    2727#define INCLUDE_TURN_SOCK_TEST      1 
    2828#define INCLUDE_CONCUR_TEST         1 
     29 
     30#define GET_AF(use_ipv6) (use_ipv6?pj_AF_INET6():pj_AF_INET()) 
     31 
     32#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6 
     33#   define USE_IPV6     1 
     34#else 
     35#   define USE_IPV6     0 
     36#endif 
    2937 
    3038int stun_test(void); 
Note: See TracChangeset for help on using the changeset viewer.