Changeset 3427 for pjproject/trunk


Ignore:
Timestamp:
Feb 28, 2011 11:58:14 PM (14 years ago)
Author:
bennylp
Message:

Misc (re #1175): fixed link error in OpenBSD 4.6 caused by lack of sched_get_priority_min() and sched_get_priority_max()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_core_unix.c

    r3373 r3427  
    312312        return -1; 
    313313 
    314 #if defined _POSIX_PRIORITY_SCHEDULING || \ 
    315     defined(_POSIX_THREAD_PRIORITY_SCHEDULING) 
     314#if defined(_POSIX_PRIORITY_SCHEDULING) 
    316315    return sched_get_priority_min(policy); 
    317316#elif defined __OpenBSD__ 
     
    338337        return -1; 
    339338 
    340 #if defined _POSIX_PRIORITY_SCHEDULING || \ 
    341     defined(_POSIX_THREAD_PRIORITY_SCHEDULING) 
     339#if defined(_POSIX_PRIORITY_SCHEDULING) 
    342340    return sched_get_priority_max(policy); 
    343341#elif defined __OpenBSD__ 
Note: See TracChangeset for help on using the changeset viewer.