mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 00:56:05 +00:00
[OpenMP] Fix gettid warnings on DragonFly (#65549)
Define __kmp_gettid() as appropriate for DragonFly.
This commit is contained in:
parent
cf5d8def5c
commit
fd4c80dec9
@ -23,7 +23,7 @@
|
||||
#if KMP_OS_DARWIN
|
||||
// OS X
|
||||
#define __kmp_gettid() pthread_mach_thread_np(pthread_self())
|
||||
#elif KMP_OS_FREEBSD
|
||||
#elif KMP_OS_FREEBSD || KMP_OS_DRAGONFLY
|
||||
#include <pthread_np.h>
|
||||
#define __kmp_gettid() pthread_getthreadid_np()
|
||||
#elif KMP_OS_NETBSD
|
||||
|
Loading…
x
Reference in New Issue
Block a user