diff options
Diffstat (limited to 'osdep/io.c')
-rw-r--r-- | osdep/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/io.c b/osdep/io.c index c243b39de4..26507eccfd 100644 --- a/osdep/io.c +++ b/osdep/io.c @@ -29,7 +29,7 @@ // On error, false is returned (and errno set). bool mp_set_cloexec(int fd) { -#if defined(FD_CLOEXEC) && defined(F_SETFD) +#if defined(F_SETFD) if (fd >= 0) { int flags = fcntl(fd, F_GETFD); if (flags == -1) |