aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/syssignal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/syssignal.h b/src/syssignal.h
index b536eb501b8..28824003c5d 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -36,7 +36,9 @@ extern void unblock_tty_out_signal (sigset_t const *);
36# define HAVE_ITIMERSPEC 36# define HAVE_ITIMERSPEC
37#endif 37#endif
38 38
39#if (defined SIGPROF && !defined PROFILING \ 39/* On Cygwin, setitimer does not support ITIMER_PROF, so we can't
40 support CPU profiling. */
41#if (defined SIGPROF && !defined PROFILING && !defined CYGWIN \
40 && (defined HAVE_SETITIMER || defined HAVE_ITIMERSPEC)) 42 && (defined HAVE_SETITIMER || defined HAVE_ITIMERSPEC))
41# define PROFILER_CPU_SUPPORT 43# define PROFILER_CPU_SUPPORT
42#endif 44#endif