diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-05-01 22:07:46 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-05-10 15:59:23 +0900 |
commit | 2d670274481647bf3bc9c82a9472bc8500a97a45 (patch) | |
tree | a902dbeba46e56f28631abb80249ecf0beba9d12 /include | |
parent | 1d0e670e91a379bb276815014e9879a9aa9b6551 (diff) |
Removed missing/dup2.c
This function should be always available, as POSIX-compliant or
Windows platform are required since 1.9. Also the code in this
file is MT-unsafe.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4483
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/missing.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h index f83f1b695c..7d551248ae 100644 --- a/include/ruby/missing.h +++ b/include/ruby/missing.h @@ -84,10 +84,6 @@ RUBY_EXTERN double atanh(double); RUBY_EXTERN char *crypt(const char *, const char *); #endif -#ifndef HAVE_DUP2 -RUBY_EXTERN int dup2(int, int); -#endif - #ifndef HAVE_EACCESS RUBY_EXTERN int eaccess(const char*, int); #endif |