summaryrefslogtreecommitdiff
path: root/fastjar/jartool.c
diff options
context:
space:
mode:
Diffstat (limited to 'fastjar/jartool.c')
-rw-r--r--fastjar/jartool.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fastjar/jartool.c b/fastjar/jartool.c
index d57794dea92..f43af14a62d 100644
--- a/fastjar/jartool.c
+++ b/fastjar/jartool.c
@@ -580,8 +580,7 @@ int main(int argc, char **argv){
if (action == ACTION_UPDATE)
#if HAVE_FTRUNCATE
ftruncate (jarfd, lseek (jarfd, 0, SEEK_CUR));
-#endif
-#if HAVE__CHSIZE
+#else
_chsize (jarfd, lseek (jarfd, 0, SEEK_CUR));
#endif