summaryrefslogtreecommitdiff
path: root/lib/fopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fopen.c')
-rw-r--r--lib/fopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fopen.c b/lib/fopen.c
index 409f54f..2c9a75d 100644
--- a/lib/fopen.c
+++ b/lib/fopen.c
@@ -47,7 +47,7 @@ orig_fopen (const char *filename, const char *mode)
FILE *
rpl_fopen (const char *filename, const char *mode)
{
-#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+#if defined _WIN32 && ! defined __CYGWIN__
if (strcmp (filename, "/dev/null") == 0)
filename = "NUL";
#endif