aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Brown2015-06-21 16:18:48 -0400
committerKen Brown2015-06-21 16:18:48 -0400
commit5fac0dee87ea5d4aa90ee93606c19785919da105 (patch)
tree5d64329884233d5769a40333707d7013d4f28831 /src
parent38bb9ff0f4b92836199d8b3a0ee3903428bb7851 (diff)
downloademacs-5fac0dee87ea5d4aa90ee93606c19785919da105.tar.gz
emacs-5fac0dee87ea5d4aa90ee93606c19785919da105.zip
Drop support for CPU profiling on Cygwin
* src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin. (Bug#20843)
Diffstat (limited to 'src')
-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