Ignore:
Timestamp:
Nov 22, 2017 6:59:47 AM (2 years ago)
Author:
riza
Message:

Close #2067: Fix linker error when building as dll on VS2015.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/http_client.c

    r4713 r5701  
    931931         * officially supported 
    932932         */ 
    933         PJ_ASSERT_RETURN(hreq->param.addr_family==PJ_AF_UNSPEC ||  
    934                          hreq->param.addr_family==PJ_AF_INET ||  
    935                          hreq->param.addr_family==PJ_AF_INET6, PJ_EAFNOTSUP); 
     933        PJ_ASSERT_RETURN(hreq->param.addr_family==pj_AF_UNSPEC() ||  
     934                         hreq->param.addr_family==pj_AF_INET() ||  
     935                         hreq->param.addr_family==pj_AF_INET6(), PJ_EAFNOTSUP); 
    936936        PJ_ASSERT_RETURN(!pj_strcmp2(&hreq->param.version, HTTP_1_0) ||  
    937937                         !pj_strcmp2(&hreq->param.version, HTTP_1_1),  
Note: See TracChangeset for help on using the changeset viewer.