diff options
author | Paul Vojta | 2017-11-07 00:12:29 -0800 |
---|---|---|
committer | Nikias Bassen | 2018-03-23 01:22:50 +0100 |
commit | 241d036b0eec91d61cf0751bcc08a8792bfb68ef (patch) | |
tree | 9e3c8fa2a6efea0780777a36a1ffc59bf79f9d41 /src/ideviceinstaller.c | |
parent | ff0df3d5e258d7a2a9381afdc15fd80f69f38be4 (diff) | |
download | ideviceinstaller-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.
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r-- | src/ideviceinstaller.c | 7 |
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"; |