Skip to content

Commit

Permalink
Fix duplicate symbols of SSZipArchiveErrorDomain.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddTheSane committed Mar 28, 2017
1 parent e451317 commit 6614014
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SSZipArchive/SSZipArchive.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

NS_ASSUME_NONNULL_BEGIN

extern NSString *const SSZipArchiveErrorDomain = @"SSZipArchiveErrorDomain";
extern NSString *const SSZipArchiveErrorDomain;
typedef NS_ENUM(NSInteger, SSZipArchiveErrorCode) {
SSZipArchiveErrorCodeFailedOpenZipFile = -1,
SSZipArchiveErrorCodeFailedOpenFirstFile = -2,
Expand Down
2 changes: 2 additions & 0 deletions SSZipArchive/SSZipArchive.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

#include <sys/stat.h>

NSString *const SSZipArchiveErrorDomain = @"SSZipArchiveErrorDomain";

#define CHUNK 16384

@interface SSZipArchive ()
Expand Down

0 comments on commit 6614014

Please sign in to comment.