Ignore:
Timestamp:
Mar 24, 2014, 12:31:08 PM (11 years ago)
Author:
[email protected]
Message:

Add support for thread QoS
https://bugs.webkit.org/show_bug.cgi?id=130688

Speculative EFL build fix.

  • wtf/ThreadingPthreads.cpp:

(WTF::setCurrentThreadQOSUtility):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/wtf/ThreadingPthreads.cpp

    r166184 r166185  
    237237void setCurrentThreadQOSUtility()
    238238{
    239 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
     239#if (TARGET_OS_MAC && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)
    240240    pthread_set_qos_class_np(pthread_self(), QOS_CLASS_UTILITY, 0);
    241241#endif
Note: See TracChangeset for help on using the changeset viewer.