aboutsummaryrefslogtreecommitdiffstats
path: root/lib/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/open.c')
-rw-r--r--lib/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/open.c b/lib/open.c
index b344f13a92a..792e258ba0b 100644
--- a/lib/open.c
+++ b/lib/open.c
@@ -86,7 +86,7 @@ open (const char *filename, int flags, ...)
86 flags &= ~O_NONBLOCK; 86 flags &= ~O_NONBLOCK;
87#endif 87#endif
88 88
89#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ 89#if defined _WIN32 && ! defined __CYGWIN__
90 if (strcmp (filename, "/dev/null") == 0) 90 if (strcmp (filename, "/dev/null") == 0)
91 filename = "NUL"; 91 filename = "NUL";
92#endif 92#endif