move pthread_setaffinity_np check to the build system
[mesa.git] / src / util / u_thread.h
index eee6f3c712d583af5a5883d39f510fae2ed0172e..7538d7d634b20bb007c4f18f930f6b0081fed5e5 100644 (file)
 #include <signal.h>
 #endif
 
-#if defined(HAVE_PTHREAD) && !defined(ANDROID) && !defined(__APPLE__)
-#define HAVE_PTHREAD_SETAFFINITY
-#endif
-
 static inline thrd_t u_thread_create(int (*routine)(void *), void *param)
 {
    thrd_t thread;