Permalink
Browse files

Merge pull request #34 from kureikain/arc_weak

Fix #33
  • Loading branch information...
2 parents f7129a7 + 1722ad4 commit 6625620c8f834571b2f7c4618b10f30a6e3e5e31 @robbiehanson committed Jul 5, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 Core/Mime/MultipartFormDataParser.h
View
6 Core/Mime/MultipartFormDataParser.h
@@ -55,7 +55,11 @@ NSMutableData* pendingData;
- (id) initWithBoundary:(NSString*) boundary formEncoding:(NSStringEncoding) formEncoding;
-@property(weak, readwrite) id delegate;
+#if __has_feature(objc_arc_weak)
+ @property(weak, readwrite) id delegate;
+#else
+ @property(unsafe_unretained, readwrite) id delegate;
+#endif
@property(readwrite) NSStringEncoding formEncoding;
@end

0 comments on commit 6625620

Please sign in to comment.