Created
January 4, 2013 23:15
-
-
Save brotchie/4458379 to your computer and use it in GitHub Desktop.
Work around for dispatch_release deprecation in iOS 6.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Work around for dispatch_release deprecation in | |
// iOS 6.0. | |
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 60000 | |
#undef dispatch_release | |
#define dispatch_release(X) (X) | |
#undef dispatch_retain | |
#define dispatch_retain(X) (X) | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment