diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2020-05-02 22:17:03 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-05-02 22:17:03 +0900 |
commit | b78fba447ae543664b9dd0a7cede4d2648f63fa9 (patch) | |
tree | 931d7028bbece3479328436a89f9dcb146b13dc6 | |
parent | 91e4e2403e950d06eb49840bdb11409321002847 (diff) | |
download | ruby-b78fba447ae543664b9dd0a7cede4d2648f63fa9.tar.gz |
internal/process.h: forgot to guard "#ifdef HAVE_WORKING_FORK"
-rw-r--r-- | internal/process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/process.h b/internal/process.h index 62d54d8b37..1ee9b03cca 100644 --- a/internal/process.h +++ b/internal/process.h @@ -114,6 +114,7 @@ ARGVSTR2ARGC(VALUE argv_str) return i - 1; } +#ifdef HAVE_WORKING_FORK COMPILER_WARNING_PUSH #if __has_warning("-Wdeprecated-declarations") || RUBY3_COMPILER_IS(GCC) COMPILER_WARNING_IGNORED(-Wdeprecated-declarations) @@ -124,5 +125,6 @@ rb_fork(void) return fork(); } COMPILER_WARNING_POP +#endif #endif /* INTERNAL_PROCESS_H */ |