diff options
| author | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
| commit | f0f8d7b82492e741950c363a03b886965c91b1b0 (patch) | |
| tree | 19b716830b1ebabc0d7d75949c4e6800c0f104ad /lib/dup2.c | |
| parent | 9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff) | |
| parent | c818c29771d3cb51875643b2f6c894073e429dd2 (diff) | |
| download | emacs-feature/native-comp-macos-fixes.tar.gz emacs-feature/native-comp-macos-fixes.zip | |
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
Diffstat (limited to 'lib/dup2.c')
| -rw-r--r-- | lib/dup2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dup2.c b/lib/dup2.c index 9bc3951f3d2..323e19b25ec 100644 --- a/lib/dup2.c +++ b/lib/dup2.c | |||
| @@ -52,7 +52,7 @@ dup2_nothrow (int fd, int desired_fd) | |||
| 52 | 52 | ||
| 53 | TRY_MSVC_INVAL | 53 | TRY_MSVC_INVAL |
| 54 | { | 54 | { |
| 55 | result = dup2 (fd, desired_fd); | 55 | result = _dup2 (fd, desired_fd); |
| 56 | } | 56 | } |
| 57 | CATCH_MSVC_INVAL | 57 | CATCH_MSVC_INVAL |
| 58 | { | 58 | { |
| @@ -64,7 +64,7 @@ dup2_nothrow (int fd, int desired_fd) | |||
| 64 | return result; | 64 | return result; |
| 65 | } | 65 | } |
| 66 | # else | 66 | # else |
| 67 | # define dup2_nothrow dup2 | 67 | # define dup2_nothrow _dup2 |
| 68 | # endif | 68 | # endif |
| 69 | 69 | ||
| 70 | static int | 70 | static int |