I use it to check iOS version, but it doesn\'t work:
#ifndef kCFCoreFoundationVersionNumber_iPhoneOS_5_0 #define kCFCoreFoundationVersionNumber_iPhoneOS_5_0
#ifdef __IPHONE_5_0
etc
Just look for that constant. All the objective c constants start with two underscores