Created
September 6, 2011 12:42
-
-
Save royratcliffe/1197442 to your computer and use it in GitHub Desktop.
NS_NONATOMIC_IOSONLY
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
// Define NS_NONATOMIC_IOSONLY here for now if not already defined. This is | |
// necessary during the transition between iOS 4.3 and iOS 5.0. Lion already | |
// defines NS_NONATOMIC_IOSONLY but iOS 4.3 does not. Instead it defines | |
// NS_NONATOMIC_IPHONEONLY; the phone has become the OS! | |
#if !defined(NS_NONATOMIC_IOSONLY) | |
#if TARGET_OS_IPHONE | |
#define NS_NONATOMIC_IOSONLY nonatomic | |
#else | |
#define NS_NONATOMIC_IOSONLY | |
#endif | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment