aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-03-03 09:33:11 +0000
committerRon Yorston <rmy@pobox.com>2018-03-03 09:33:11 +0000
commit13cb88b0f6f2a69076e91858fbbdd0c65697e621 (patch)
tree996db13d3cd11d564f3a1e28182f4913617200cb
parent99daecdac917d149f4643e090cb705df135e2ed1 (diff)
downloadbusybox-w32-13cb88b0f6f2a69076e91858fbbdd0c65697e621.tar.gz
busybox-w32-13cb88b0f6f2a69076e91858fbbdd0c65697e621.tar.bz2
busybox-w32-13cb88b0f6f2a69076e91858fbbdd0c65697e621.zip
ar: conditional compilation for variable only needed on WIN32
-rw-r--r--archival/ar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/archival/ar.c b/archival/ar.c
index 9dc070390..66930f0b8 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -163,7 +163,9 @@ static int write_ar_archive(archive_handle_t *handle)
163{ 163{
164 struct stat st; 164 struct stat st;
165 archive_handle_t *out_handle; 165 archive_handle_t *out_handle;
166#if ENABLE_PLATFORM_MINGW32
166 char *temp_fn = NULL; 167 char *temp_fn = NULL;
168#endif
167 169
168 xfstat(handle->src_fd, &st, handle->ar__name); 170 xfstat(handle->src_fd, &st, handle->ar__name);
169 171