X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fcommon%2Fthread-id.h;h=56835e3659c8b7b3e59f2aa1d8922ba602a3df90;hb=7795dee16c0ff48f5ad3b82db3b63acc68daaf27;hp=690fdf009677f714918f738e755c53584e73c305;hpb=63b97b79fa18f329e7e828fcda2530800d51aefa;p=urcu.git diff --git a/tests/common/thread-id.h b/tests/common/thread-id.h index 690fdf0..56835e3 100644 --- a/tests/common/thread-id.h +++ b/tests/common/thread-id.h @@ -50,7 +50,7 @@ unsigned long urcu_get_thread_id(void) { return (unsigned long) pthread_getthreadid_np(); } -#elif defined(__sun__) +#elif defined(__sun__) || defined(__APPLE__) #include static inline