diff options
| author | Paul Eggert | 2012-09-30 01:15:11 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-30 01:15:11 -0700 |
| commit | cb5b02667a8dcfc00d990103b2fb3236259bd627 (patch) | |
| tree | a2209200453b9fb5a7ce2e9d6384e28cdd3299d5 | |
| parent | 84f72efd0c52bbae42a5169d9a94ad0feacb789e (diff) | |
| download | emacs-cb5b02667a8dcfc00d990103b2fb3236259bd627.tar.gz emacs-cb5b02667a8dcfc00d990103b2fb3236259bd627.zip | |
* syssignal.h (PROFILER_CPU_SUPPORT): Don't define if PROFILING.
Suggested by Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00811.html>.
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/syssignal.h | 3 |
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 @@ | |||
| 1 | 2012-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 | |||
| 1 | 2012-09-30 Eli Zaretskii <eliz@gnu.org> | 7 | 2012-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 | ||