summaryrefslogtreecommitdiff
path: root/nt/inc/unistd.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-11-18 18:54:31 +0200
committerEli Zaretskii <eliz@gnu.org>2012-11-18 18:54:31 +0200
commit031b541f1943a49ee06944cc5957dab3f7baedf9 (patch)
tree624fbd50f75d4222144bdc4ade6e251be044de51 /nt/inc/unistd.h
parentdfa8939b2827d23e02f3d7f6622e3a619ec6fd90 (diff)
downloademacs-031b541f1943a49ee06944cc5957dab3f7baedf9.tar.gz
Fix latest changes in nt/inc/unistd.h.
nt/inc/unistd.h: Don't include fcntl.h and don't define O_RDWR. Fixes: debbugs:12881
Diffstat (limited to 'nt/inc/unistd.h')
-rw-r--r--nt/inc/unistd.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/nt/inc/unistd.h b/nt/inc/unistd.h
index 0173fdbb943..e751ed124d3 100644
--- a/nt/inc/unistd.h
+++ b/nt/inc/unistd.h
@@ -26,17 +26,6 @@ extern int faccessat (int, char const *, int, int);
#define AT_EACCESS 4
#define AT_SYMLINK_NOFOLLOW 4096
-/* Here are some more fcntl.h macros that default to gnulib-compatible
- values. Include <fcntl.h> first, to make sure we don't override
- its values if any. FIXME: If we know <fcntl.h> does not define
- O_NOCTTY and O_RDWR, this can be replaced with a simple "#define
- O_NOCTTY 0" and "#define O_RDWR 2". */
-#include <fcntl.h>
-#ifndef O_NOCTTY
#define O_NOCTTY 0
-#endif
-#ifndef O_RDWR
-#define O_RDWR 2
-#endif
#endif /* _UNISTD_H */