Ignore:
Timestamp:
Apr 13, 2016 6:24:48 AM (9 years ago)
Author:
riza
Message:

Fixed #1912: Build Error on Alpine linux (musl libc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/siprtp.c

    r5241 r5277  
    11371137        return; 
    11381138    } 
    1139     tp.__sched_priority = max_prio; 
     1139    tp.sched_priority = max_prio; 
    11401140 
    11411141    rc = sched_setscheduler(0, POLICY, &tp); 
     
    11461146 
    11471147    PJ_LOG(4, (THIS_FILE, "New process policy=%d, priority=%d", 
    1148               policy, tp.__sched_priority)); 
     1148              policy, tp.sched_priority)); 
    11491149 
    11501150    /* 
     
    11591159 
    11601160    PJ_LOG(4, (THIS_FILE, "Old thread policy=%d, priority=%d", 
    1161               policy, tp.__sched_priority)); 
     1161              policy, tp.sched_priority)); 
    11621162 
    11631163    policy = POLICY; 
    1164     tp.__sched_priority = max_prio; 
     1164    tp.sched_priority = max_prio; 
    11651165 
    11661166    rc = pthread_setschedparam(pthread_self(), policy, &tp); 
     
    11721172 
    11731173    PJ_LOG(4, (THIS_FILE, "New thread policy=%d, priority=%d", 
    1174               policy, tp.__sched_priority)); 
     1174              policy, tp.sched_priority)); 
    11751175} 
    11761176 
Note: See TracChangeset for help on using the changeset viewer.