meson: drop leftover PTHREAD_SETAFFINITY_IN_NP_HEADER
[mesa.git] / meson.build
index be007953c8b8597491e792219d070f9ef96bc091..fa178c435a9fa690c0b3d437b73f41098eb47bdc 100644 (file)
@@ -1345,12 +1345,6 @@ if dep_thread.found() and host_machine.system() != 'windows'
       args : '-D_GNU_SOURCE')
     pre_args += '-DHAVE_PTHREAD_SETAFFINITY'
   endif
-  if cc.has_function(
-      'pthread_setaffinity_np',
-      dependencies : dep_thread,
-      prefix : '#include <pthread_np.h>')
-    pre_args += '-DPTHREAD_SETAFFINITY_IN_NP_HEADER'
-  endif
 endif
 if host_machine.system() != 'windows'
   dep_expat = dependency('expat', fallback : ['expat', 'expat_dep'])