Drop support for CPU profiling on Cygwin
* src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin. (Bug#20843)
This commit is contained in:
parent
38bb9ff0f4
commit
5fac0dee87
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ extern void unblock_tty_out_signal (sigset_t const *);
|
|||
# define HAVE_ITIMERSPEC
|
||||
#endif
|
||||
|
||||
#if (defined SIGPROF && !defined PROFILING \
|
||||
/* On Cygwin, setitimer does not support ITIMER_PROF, so we can't
|
||||
support CPU profiling. */
|
||||
#if (defined SIGPROF && !defined PROFILING && !defined CYGWIN \
|
||||
&& (defined HAVE_SETITIMER || defined HAVE_ITIMERSPEC))
|
||||
# define PROFILER_CPU_SUPPORT
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue