Permalink
Browse files

Mark imp_implementationWithBlock as weak_import to restore 4.0 throug…

…h 4.2 compatibility.

Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
  • Loading branch information...
1 parent c39058f commit 1ed9368df50258c70f08e2c79103b4609a373e82 @zwaldowski zwaldowski committed Feb 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 A2BlockDelegate.m
View
@@ -32,7 +32,7 @@
// Forward Declarations
extern char *a2_property_copyAttributeValue(objc_property_t property, const char *attributeName);
extern char *property_copyAttributeValue(objc_property_t property, const char *attributeName);
-extern IMP imp_implementationWithBlock(void *block);
+extern IMP imp_implementationWithBlock(void *block) __attribute__((weak_import));
@interface NSObject ()

0 comments on commit 1ed9368

Please sign in to comment.