diff options
author | Dudemanguy <random342@airmail.cc> | 2023-01-31 09:22:59 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-02-02 14:22:09 +0000 |
commit | bf3228142521b0bec633b741c0c97042bb20fe93 (patch) | |
tree | d640fe06f14a5f370acd8b8ff571cb6b80908c15 /waftools/fragments/osx_thread_name.c | |
parent | 7990dd8f3f664e01c984a405dad7c8af320cabf1 (diff) | |
download | mpv-bf3228142521b0bec633b741c0c97042bb20fe93.tar.bz2 mpv-bf3228142521b0bec633b741c0c97042bb20fe93.tar.xz |
meson: check pthread provider with has_function
Previously, we did this doing code fragments, but we can be a bit more
clever and use has_function as well as the platform we're on.
Diffstat (limited to 'waftools/fragments/osx_thread_name.c')
-rw-r--r-- | waftools/fragments/osx_thread_name.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/waftools/fragments/osx_thread_name.c b/waftools/fragments/osx_thread_name.c deleted file mode 100644 index 5a7acb8ec5..0000000000 --- a/waftools/fragments/osx_thread_name.c +++ /dev/null @@ -1,5 +0,0 @@ -#include <pthread.h> -int main(int argc, char **argv) { - pthread_setname_np("ducks"); - return 0; -} |