Changeset 1668 for pjproject/trunk
- Timestamp:
- Jan 8, 2008 4:02:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ip_helper_generic.c
r1613 r1668 53 53 /* dummy */ 54 54 55 #elif defined(PJ_HAS_IFADDRS_H) && PJ_HAS_IFADDRS_H != 0 55 #elif defined(PJ_HAS_IFADDRS_H) && PJ_HAS_IFADDRS_H != 0 && \ 56 defined(PJ_HAS_NET_IF_H) && PJ_HAS_NET_IF_H != 0 56 57 /* Using getifaddrs() is preferred since it can work with both IPv4 and IPv6 */ 57 58 static pj_status_t if_enum_by_af(int af, … … 109 110 } 110 111 111 #elif defined(SIOCGIFCONF) 112 #elif defined(SIOCGIFCONF) && \ 113 defined(PJ_HAS_NET_IF_H) && PJ_HAS_NET_IF_H != 0 114 112 115 /* Note: this does not work with IPv6 */ 113 116 static pj_status_t if_enum_by_af(int af,
Note: See TracChangeset
for help on using the changeset viewer.