X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/89ce83b20249dfb4e45f09dfdddf4c4b66d82968..dd98ee8992c3246861e44447ffcd02886a52878e:/src/profiler.c diff --git a/src/profiler.c b/src/profiler.c index 844c1f21ca..07e21aeab1 100644 --- a/src/profiler.c +++ b/src/profiler.c @@ -201,7 +201,12 @@ static bool profiler_timer_ok; /* Status of sampling profiler. */ static enum profiler_cpu_running - { NOT_RUNNING, TIMER_SETTIME_RUNNING, SETITIMER_RUNNING } + { NOT_RUNNING, +#ifdef HAVE_ITIMERSPEC + TIMER_SETTIME_RUNNING, +#endif + SETITIMER_RUNNING + } profiler_cpu_running; /* Hash-table log of CPU profiler. */