Merge pull request #43 from levigroker/master
#define added to the .h which allows conditional compilation for third parties wishing to conditionally add functionality based on the presence of SSZipArchive.
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
// Copyright (c) Sam Soffes 2010-2013. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef _SSZIPARCHIVE_H
|
||||
#define _SSZIPARCHIVE_H
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#include "minizip/unzip.h"
|
||||
|
||||
@@ -43,3 +46,5 @@
|
||||
- (void)zipArchiveDidUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath fileInfo:(unz_file_info)fileInfo;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* _SSZIPARCHIVE_H */
|
||||
|
||||
@@ -10,6 +10,6 @@ Pod::Spec.new do |s|
|
||||
s.ios.deployment_target = '4.0'
|
||||
s.osx.deployment_target = '10.6'
|
||||
s.source_files = 'SSZipArchive.{h,m}', 'minizip/*.{h,c}'
|
||||
s.preserve_paths = 'minizip'
|
||||
s.header_dir = 'minizip'
|
||||
s.library = 'z'
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user