aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/gzip.c2
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)
1215 path = xasprintf("%s.gz", argv[i]); 1215 path = xasprintf("%s.gz", argv[i]);
1216 1216
1217 /* Open output file */ 1217 /* Open output file */
1218#if (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) && defined O_NOFOLLOW 1218#if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 && defined(O_NOFOLLOW)
1219 outFileNum = 1219 outFileNum =
1220 open(path, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW); 1220 open(path, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW);
1221#else 1221#else