diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 05:44:14 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 05:44:14 +0000 |
commit | 567ec93ee6a4009373756192b4e0e71837e8a2c2 (patch) | |
tree | 501016754cd6ad6537479cda882eca2da33b1fce /thread.c | |
parent | bad9d2246ff294e7471fd5a9f06117714585bc95 (diff) |
thread.c (rb_clear_coverages): defined out of #ifdef
It failed to build on windows.
https://ci.appveyor.com/project/ruby/ruby/builds/19655876
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4313,7 +4313,6 @@ rb_thread_start_timer_thread(void) rb_thread_create_timer_thread(); } -#if defined(HAVE_WORKING_FORK) static int clear_coverage_i(st_data_t key, st_data_t val, st_data_t dummy) { @@ -4353,6 +4352,7 @@ rb_clear_coverages(void) } } +#if defined(HAVE_WORKING_FORK) static void rb_thread_atfork_internal(rb_thread_t *th, void (*atfork)(rb_thread_t *, const rb_thread_t *)) { |