Changeset 3373 for pjproject/trunk


Ignore:
Timestamp:
Nov 18, 2010 7:14:07 AM (14 years ago)
Author:
bennylp
Message:

Misc (re #1151): support for sched_get_priority_max/min in OpenBSD (thanks David Coppa for the patch)

File:
1 edited

Legend:

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

    r3320 r3373  
    312312        return -1; 
    313313 
    314 #if defined _POSIX_PRIORITY_SCHEDULING 
     314#if defined _POSIX_PRIORITY_SCHEDULING || \ 
     315    defined(_POSIX_THREAD_PRIORITY_SCHEDULING) 
    315316    return sched_get_priority_min(policy); 
    316317#elif defined __OpenBSD__ 
     
    337338        return -1; 
    338339 
    339 #if defined _POSIX_PRIORITY_SCHEDULING 
     340#if defined _POSIX_PRIORITY_SCHEDULING || \ 
     341    defined(_POSIX_THREAD_PRIORITY_SCHEDULING) 
    340342    return sched_get_priority_max(policy); 
    341343#elif defined __OpenBSD__ 
Note: See TracChangeset for help on using the changeset viewer.