From: Augustin Degomme Date: Wed, 22 May 2019 08:31:49 +0000 (+0200) Subject: oops X-Git-Tag: v3.22.4~73 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a788a859c219be0329400e333845ca2b85bfae95?hp=5a70c089b84089f74d1fcaefecaa4bdbee1deae5 oops --- 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;