diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/profiler.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/profiler.c b/src/profiler.c index 15a0eef0d3e..293e52633a8 100644 --- a/src/profiler.c +++ b/src/profiler.c | |||
| @@ -232,9 +232,10 @@ static EMACS_INT current_sampling_interval; | |||
| 232 | 232 | ||
| 233 | /* Signal handler for sampling profiler. */ | 233 | /* Signal handler for sampling profiler. */ |
| 234 | 234 | ||
| 235 | /* timer_getoverrun is not implemented on Cygwin, but the following | 235 | /* timer_getoverrun is not implemented on Cygwin prior to |
| 236 | seems to be good enough for profiling. */ | 236 | cygwin-3.0.0, but the following seems to be good enough for |
| 237 | #ifdef CYGWIN | 237 | profiling. */ |
| 238 | #if defined CYGWIN && !defined HAVE_TIMER_GETOVERRUN | ||
| 238 | #define timer_getoverrun(x) 0 | 239 | #define timer_getoverrun(x) 0 |
| 239 | #endif | 240 | #endif |
| 240 | 241 | ||