internal/process.h: forgot to guard "#ifdef HAVE_WORKING_FORK"
This commit is contained in:
parent
91e4e2403e
commit
b78fba447a
@ -114,6 +114,7 @@ ARGVSTR2ARGC(VALUE argv_str)
|
|||||||
return i - 1;
|
return i - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_WORKING_FORK
|
||||||
COMPILER_WARNING_PUSH
|
COMPILER_WARNING_PUSH
|
||||||
#if __has_warning("-Wdeprecated-declarations") || RUBY3_COMPILER_IS(GCC)
|
#if __has_warning("-Wdeprecated-declarations") || RUBY3_COMPILER_IS(GCC)
|
||||||
COMPILER_WARNING_IGNORED(-Wdeprecated-declarations)
|
COMPILER_WARNING_IGNORED(-Wdeprecated-declarations)
|
||||||
@ -124,5 +125,6 @@ rb_fork(void)
|
|||||||
return fork();
|
return fork();
|
||||||
}
|
}
|
||||||
COMPILER_WARNING_POP
|
COMPILER_WARNING_POP
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* INTERNAL_PROCESS_H */
|
#endif /* INTERNAL_PROCESS_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user