diff options
-rw-r--r-- | src/fdevent.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fdevent.c b/src/fdevent.c index ec68471d..02674c8b 100644 --- a/src/fdevent.c +++ b/src/fdevent.c @@ -171,10 +171,6 @@ int fdevent_dup_cloexec (int fd) { #endif int fdevent_open_cloexec(const char *pathname, int symlinks, int flags, mode_t mode) { -#ifdef __CYGWIN__ /* broken in current cygwin; fixed in cygwin test */ -#undef O_NOFOLLOW -#define O_NOFOLLOW 0 -#endif if (!symlinks) flags |= O_NOFOLLOW; #ifdef O_CLOEXEC return open(pathname, flags | O_CLOEXEC | FDEVENT_O_FLAGS, mode); |