summaryrefslogtreecommitdiff
path: root/src/pal/src/config.h.in
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2016-02-02 02:58:56 +0100
committerKamil Rytarowski <n54@gmx.com>2016-02-02 04:25:53 +0100
commit2fa8c4b671cb40920d457e43c3915cea2d26ce8f (patch)
tree3a5fb7ec318a95e8bea3c6028d43716fff55f69d /src/pal/src/config.h.in
parent9e1fb2f4baf6ae995594c54fc3612ea4be3b529f (diff)
downloadcoreclr-2fa8c4b671cb40920d457e43c3915cea2d26ce8f.tar.gz
coreclr-2fa8c4b671cb40920d457e43c3915cea2d26ce8f.tar.bz2
coreclr-2fa8c4b671cb40920d457e43c3915cea2d26ce8f.zip
Fix build on NetBSD: Introduce check for pthread_getcpuclockid(3)
This function is part of the optional part of POSIX. It's available in: - FreeBSD, - AIX, - QNX, - Linux. It's missing in NetBSD. According to Jan Kotas (Microsoft) this function is used for undocumented resource monitoring feature (FEATURE_APPDOMAIN_RESOURCE_MONITORING) and unlikely anybody is using this today. Solution suggested in #2947 "NetBSD doesn't implement pthread_getcpuclockid(3)"
Diffstat (limited to 'src/pal/src/config.h.in')
-rw-r--r--src/pal/src/config.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pal/src/config.h.in b/src/pal/src/config.h.in
index 3871e07007..b4fc976ed3 100644
--- a/src/pal/src/config.h.in
+++ b/src/pal/src/config.h.in
@@ -29,6 +29,7 @@
#cmakedefine01 HAVE_PTHREAD_CONTINUE_NP
#cmakedefine01 HAVE_PTHREAD_ATTR_GET_NP
#cmakedefine01 HAVE_PTHREAD_GETATTR_NP
+#cmakedefine01 HAVE_PTHREAD_GETCPUCLOCKID
#cmakedefine01 HAVE_PTHREAD_SIGQUEUE
#cmakedefine01 HAVE_SIGRETURN
#cmakedefine01 HAVE__THREAD_SYS_SIGRETURN