aboutsummaryrefslogtreecommitdiff
path: root/gprofng/common
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-03-15 15:21:56 +0000
committerNick Clifton <nickc@redhat.com>2022-03-15 15:21:56 +0000
commit4ec39c4bca9ac7ac62019e6de9e6519cc77570ec (patch)
treee147dc58ae6f11ec52c7f16e657a38bf4815a187 /gprofng/common
parenta4eb1b3cf6d12ff997f37eb9272cbe9251efae27 (diff)
downloadbinutils-4ec39c4bca9ac7ac62019e6de9e6519cc77570ec.zip
binutils-4ec39c4bca9ac7ac62019e6de9e6519cc77570ec.tar.gz
binutils-4ec39c4bca9ac7ac62019e6de9e6519cc77570ec.tar.bz2
gprofng: Add a configure test for clock_gettime and a use of the test in getthrtime.c
Diffstat (limited to 'gprofng/common')
-rw-r--r--gprofng/common/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gprofng/common/config.h.in b/gprofng/common/config.h.in
index e46e64f..8409ce7 100644
--- a/gprofng/common/config.h.in
+++ b/gprofng/common/config.h.in
@@ -6,6 +6,9 @@
/* Enable java profiling */
#undef GPROFNG_JAVA_PROFILING
+/* Define to 1 if you have the `clock_gettime' function. */
+#undef HAVE_CLOCK_GETTIME
+
/* Define to 1 if you have the declaration of `basename', and to 0 if you
don't. */
#undef HAVE_DECL_BASENAME