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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c

    r5691 r5701  
    821821            /* enable compact form - from Ticket #342 */ 
    822822            { 
    823                 extern pj_bool_t pjsip_use_compact_form; 
    824823                extern pj_bool_t pjsip_include_allow_hdr_in_dlg; 
    825824                extern pj_bool_t pjmedia_add_rtpmap_for_static_pt; 
    826825 
    827                 pjsip_use_compact_form = PJ_TRUE; 
     826                pjsip_cfg()->endpt.use_compact_form = PJ_TRUE; 
    828827                /* do not transmit Allow header */ 
    829828                pjsip_include_allow_hdr_in_dlg = PJ_FALSE; 
     
    17481747    pj_str_t cfg; 
    17491748    char line[128]; 
    1750     extern pj_bool_t pjsip_use_compact_form; 
    17511749 
    17521750    PJ_UNUSED_ARG(max); 
     
    21482146    } 
    21492147 
    2150     if (pjsip_use_compact_form) 
     2148    if (pjsip_cfg()->endpt.use_compact_form) 
    21512149    { 
    21522150        pj_strcat2(&cfg, "--use-compact-form\n"); 
Note: See TracChangeset for help on using the changeset viewer.