diff --git a/.pick_status.json b/.pick_status.json index a0001b6bd56..dda9383bf45 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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" }, diff --git a/meson.build b/meson.build index 37cbe19e277..ff5402f363e 100644 --- a/meson.build +++ b/meson.build @@ -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 ') - pre_args += '-DPTHREAD_SETAFFINITY_IN_NP_HEADER' - endif endif if host_machine.system() != 'windows' dep_expat = dependency('expat', fallback : ['expat', 'expat_dep'])