1 2 3 4 5 6 7 8 9
#if defined(USE_THREADS_POSIX) && defined(HAVE_PTHREAD_H) # include <pthread.h> static int verify_linking_to_pthread_cxx() { return static_cast<int>(pthread_self()); } #endif