summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Paul Vojta2017-11-07 00:12:29 -0800
committerGravatar Nikias Bassen2018-03-23 01:22:50 +0100
commit241d036b0eec91d61cf0751bcc08a8792bfb68ef (patch)
tree9e3c8fa2a6efea0780777a36a1ffc59bf79f9d41
parentff0df3d5e258d7a2a9381afdc15fd80f69f38be4 (diff)
downloadideviceinstaller-241d036b0eec91d61cf0751bcc08a8792bfb68ef.tar.gz
ideviceinstaller-241d036b0eec91d61cf0751bcc08a8792bfb68ef.tar.bz2
Delete lines 54-60 of ideviceinstaller.c.
The reason for this is that these lines are only useful for very old versions of libzip, but those versions are now disallowed by the configure script. This fixes issues #43, #50, #66, and (probably) #55.
-rw-r--r--src/ideviceinstaller.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 28b98ec..12f2caf 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -51,13 +51,6 @@
#include <zip.h>
-#ifndef ZIP_CODEC_ENCODE
-// this is required for old libzip...
-#define zip_get_num_entries(x, y) zip_get_num_files(x)
-#define zip_int64_t ssize_t
-#define zip_uint64_t off_t
-#endif
-
#define ITUNES_METADATA_PLIST_FILENAME "iTunesMetadata.plist"
const char PKG_PATH[] = "PublicStaging";