X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fopen.c;h=792e258ba0b09199346fc053356c6cf3e3b6d73a;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=b344f13a92ac64cfcb3e9c4af3b316d4ae1f4456;hpb=a8a88eddaa90432e6ec1b8d9d5c9842bc91afd1d;p=debian%2Fgzip diff --git a/lib/open.c b/lib/open.c index b344f13..792e258 100644 --- a/lib/open.c +++ b/lib/open.c @@ -86,7 +86,7 @@ open (const char *filename, int flags, ...) flags &= ~O_NONBLOCK; #endif -#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +#if defined _WIN32 && ! defined __CYGWIN__ if (strcmp (filename, "/dev/null") == 0) filename = "NUL"; #endif