From a788a859c219be0329400e333845ca2b85bfae95 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Wed, 22 May 2019 10:31:49 +0200 Subject: [PATCH 1/1] oops --- src/xbt/xbt_os_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/xbt_os_time.c b/src/xbt/xbt_os_time.c index 967ad5b206..d07e6ac206 100644 --- a/src/xbt/xbt_os_time.c +++ b/src/xbt/xbt_os_time.c @@ -110,7 +110,7 @@ void xbt_os_sleep(double sec) * @brief This section describes many macros/functions that can serve as an OS abstraction. */ struct s_xbt_os_timer { -#if HAVE_POSIX_GETTIME +#if HAVE_POSIX_GETTIME && defined (_POSIX_THREAD_CPUTIME) struct timespec start; struct timespec stop; struct timespec elapse; -- 2.20.1