From 83e5d6f77237b64853c194b0ce592e77ef677c4d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 18 Dec 2006 21:49:06 +0000 Subject: A bunch of defined(__GLIBC__) added. static-linking warning expanded --- archival/gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival') diff --git a/archival/gzip.c b/archival/gzip.c index 7124e9b..5966c08 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -1215,7 +1215,7 @@ int gzip_main(int argc, char **argv) path = xasprintf("%s.gz", argv[i]); /* Open output file */ -#if (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) && defined O_NOFOLLOW +#if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 && defined(O_NOFOLLOW) outFileNum = open(path, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW); #else -- cgit v1.1