projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38bb9ff
)
Drop support for CPU profiling on Cygwin
author
Ken Brown
<kbrown@cornell.edu>
Sun, 21 Jun 2015 20:18:48 +0000
(16:18 -0400)
committer
Ken Brown
<kbrown@cornell.edu>
Sun, 21 Jun 2015 20:18:48 +0000
(16:18 -0400)
* src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
(Bug#20843)
src/syssignal.h
patch
|
blob
|
history
diff --git
a/src/syssignal.h
b/src/syssignal.h
index b536eb501b8458f098f8989188e2818c08ee7fbe..28824003c5d6e59de151d3cbadbd858cd946ca6d 100644
(file)
--- a/
src/syssignal.h
+++ b/
src/syssignal.h
@@
-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