diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-19 00:49:06 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-19 00:49:06 +0300 |
commit | 83e5d6f77237b64853c194b0ce592e77ef677c4d (patch) | |
tree | 84b352ca012bd713d990ef1d90b47777a6f6e2e7 /archival/gzip.c | |
parent | f42ff90453687624874c1eb8cc53f68514f7cb34 (diff) |
A bunch of defined(__GLIBC__) added. static-linking warning expanded
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index 7124e9bd4..5966c08e4 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 |