]> code.delx.au - gnu-emacs/blobdiff - src/profiler.c
Remove duplicate binding
[gnu-emacs] / src / profiler.c
index 844c1f21ca8d8708f7e9454265011c7e7e46456e..07e21aeab1057a277374179489a0ec9d8f174917 100644 (file)
@@ -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.  */