aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/syssignal.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cb8692b4589..e07f7e131cb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2
3 * syssignal.h (PROFILER_CPU_SUPPORT): Don't define if PROFILING.
4 Suggested by Eli Zaretskii in
5 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00811.html>.
6
12012-09-30 Eli Zaretskii <eliz@gnu.org> 72012-09-30 Eli Zaretskii <eliz@gnu.org>
2 8
3 * profiler.c (Fprofiler_cpu_stop): Use timer_settime only if 9 * profiler.c (Fprofiler_cpu_stop): Use timer_settime only if
diff --git a/src/syssignal.h b/src/syssignal.h
index 0bc856769ba..ece2515dec9 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -29,7 +29,8 @@ extern void init_signals (bool);
29#define FORWARD_SIGNAL_TO_MAIN_THREAD 29#define FORWARD_SIGNAL_TO_MAIN_THREAD
30#endif 30#endif
31 31
32#if defined SIGPROF && (defined HAVE_TIMER_SETTIME || defined HAVE_SETITIMER) 32#if (defined SIGPROF && (defined HAVE_TIMER_SETTIME || defined HAVE_SETITIMER) \
33 && !defined PROFILING)
33# define PROFILER_CPU_SUPPORT 34# define PROFILER_CPU_SUPPORT
34#endif 35#endif
35 36