Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 15th, 2012  |  syntax: None  |  size: 0.42 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // Define NS_NONATOMIC_IOSONLY here for now if not already defined. This is
  2. // necessary during the transition between iOS 4.3 and iOS 5.0. Lion already
  3. // defines NS_NONATOMIC_IOSONLY but iOS 4.3 does not. Instead it defines
  4. // NS_NONATOMIC_IPHONEONLY; the phone has become the OS!
  5. #if !defined(NS_NONATOMIC_IOSONLY)
  6. #if TARGET_OS_IPHONE
  7. #define NS_NONATOMIC_IOSONLY nonatomic
  8. #else
  9. #define NS_NONATOMIC_IOSONLY
  10. #endif
  11. #endif