mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
meson: drop leftover PTHREAD_SETAFFINITY_IN_NP_HEADER
55765f80replaced 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> (cherry picked from commit0f4d09443e)
This commit is contained in:
parent
59bd16ee86
commit
b1433c1b1e
2 changed files with 1 additions and 7 deletions
|
|
@ -2704,7 +2704,7 @@
|
|||
"description": "meson: drop leftover PTHREAD_SETAFFINITY_IN_NP_HEADER",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "55765f80b9ce7cce4ec6a1c2bed6476776d9cbed"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1291,12 +1291,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'])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue