meson: drop leftover PTHREAD_SETAFFINITY_IN_NP_HEADER
55765f80
replaced this with a check for the header itself. Fixes:55765f80b9
("util/u_thread: include pthread_np.h if found") Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Jonathan Gray <jsg@jsg.id.au> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6548>
This commit is contained in:

committed by
Marge Bot

parent
ebf2576862
commit
0f4d09443e
@@ -1345,12 +1345,6 @@ if dep_thread.found() and host_machine.system() != 'windows'
|
|||||||
args : '-D_GNU_SOURCE')
|
args : '-D_GNU_SOURCE')
|
||||||
pre_args += '-DHAVE_PTHREAD_SETAFFINITY'
|
pre_args += '-DHAVE_PTHREAD_SETAFFINITY'
|
||||||
endif
|
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
|
endif
|
||||||
if host_machine.system() != 'windows'
|
if host_machine.system() != 'windows'
|
||||||
dep_expat = dependency('expat', fallback : ['expat', 'expat_dep'])
|
dep_expat = dependency('expat', fallback : ['expat', 'expat_dep'])
|
||||||
|
Reference in New Issue
Block a user