Commit ecb81d5b authored by Libretro-Admin's avatar Libretro-Admin
Browse files

No pthread affinity on macOS

parent 56e788d5
Pipeline #44481 passed with stage
in 40 seconds
......@@ -5,7 +5,7 @@
//#define MDFN_SNES_FAUST_SKETCHYPPUOPT 1
#define HAVE_SEM_TIMEDWAIT 1
#ifndef ANDROID
#if !defined(ANDROID) && !defined(__APPLE__)
#define PTHREAD_AFFINITY_NP cpu_set_t
#endif
......
......@@ -29,7 +29,7 @@
//
//
//
#if !defined(HAVE_PTHREAD_CONDATTR_SETCLOCK) && defined(HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE_NP)
#if (!defined(HAVE_PTHREAD_CONDATTR_SETCLOCK) && defined(HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE_NP)) || defined(__APPLE__)
#define MDFN_USE_COND_TIMEDWAIT_RELATIVE_NP
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment