https://bugs.kde.org/show_bug.cgi?id=428909
Bart Van Assche <bvanass...@acm.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bvanass...@acm.org --- Comment #16 from Bart Van Assche <bvanass...@acm.org> --- ifdef-code like the following is hard to maintain: +#if defined(VGO_darwin) +#define VG_WRAP_THREAD_FUNCTION_LIBPTHREAD_ONLY +#elif defined(VGO_solaris) || (defined(VGO_linux) && defined(MUSL_LIBC)) +#define VG_WRAP_THREAD_FUNCTION_LIBC_ONLY +#elif defined(VGO_linux) +#define VG_WRAP_THREAD_FUNCTION_LIBC_AND_LIBPTHREAD +#else +# error "Unknown platform" +#endif Please change this into configure tests that verify whether pthreads functions exist in libpthread, libc or in both. -- You are receiving this mail because: You are watching all bug changes.