Ignore:
Timestamp:
Jul 20, 2007 8:08:30 AM (17 years ago)
Author:
bennylp
Message:

Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/addr_resolv_symbian.cpp

    r1269 r1405  
    7777    he->h_name = resolved_name; 
    7878    he->h_aliases = no_aliases; 
    79     he->h_addrtype = PJ_AF_INET; 
     79    he->h_addrtype = pj_AF_INET(); 
    8080    he->h_length = 4; 
    8181    he->h_addr_list = (char**) addr_list; 
     
    8686 
    8787/* Resolve the IP address of local machine */ 
    88 pj_status_t pj_gethostip(pj_in_addr *addr) 
     88PJ_DEF(pj_status_t) pj_gethostip(pj_in_addr *addr) 
    8989{ 
    9090    const pj_str_t *hostname = pj_gethostname(); 
     
    112112        int len; 
    113113 
    114         status = pj_sock_socket(PJ_AF_INET, PJ_SOCK_DGRAM, 0, &fd); 
     114        status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &fd); 
    115115        if (status != PJ_SUCCESS) { 
    116116            return status; 
Note: See TracChangeset for help on using the changeset viewer.