Skip to content

Commit

Permalink
8.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernesto Rivera committed Nov 7, 2014
1 parent eed6bad commit 440bdcc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Source/NBUAvailability.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,14 @@
#define __NBU_APICHECK_8_0(_ios) CF_AVAILABLE_IOS(_ios)
#endif

#if __IPHONE_OS_VERSION_SOFT_MAX_REQUIRED < __IPHONE_8_1
#undef __AVAILABILITY_INTERNAL__IPHONE_8_1
#define __AVAILABILITY_INTERNAL__IPHONE_8_1 __NBU_AVAILABILITY_STARTING("8.1")
#define __NBU_APICHECK_8_1(_ios) __NBU_AVAILABILITY_STARTING("8.1")
#else
#define __NBU_APICHECK_8_1(_ios) CF_AVAILABLE_IOS(_ios)
#endif

#undef NS_AVAILABLE_IOS
#define NS_AVAILABLE_IOS(_ios) __NBU_APICHECK_##_ios( _ios )

Expand Down

0 comments on commit 440bdcc

Please sign in to comment.