aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m46
-rw-r--r--ares/acinclude.m46
2 files changed, 8 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index b672367aa..39525043a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2001,8 +2001,10 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [
#endif
]],[[
#if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0)
- dnl The monotonic clock will not be used unless the feature test macro is
- dnl defined with a value greater than zero indicating _always_ supported.
+ /*
+ The monotonic clock will not be used unless the feature test macro is
+ defined with a value greater than zero indicating _always_ supported.
+ */
struct timespec ts;
(void)clock_gettime(CLOCK_MONOTONIC, &ts);
#else
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index 1875c0d5a..eb3c2454f 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -1468,8 +1468,10 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [
#endif
]],[[
#if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0)
- dnl The monotonic clock will not be used unless the feature test macro is
- dnl defined with a value greater than zero indicating _always_ supported.
+ /*
+ The monotonic clock will not be used unless the feature test macro is
+ defined with a value greater than zero indicating _always_ supported.
+ */
struct timespec ts;
(void)clock_gettime(CLOCK_MONOTONIC, &ts);
#else