diff --git a/Headers/Foundation/NSObjCRuntime.h b/Headers/Foundation/NSObjCRuntime.h index 2703a385e..6a3cba95f 100644 --- a/Headers/Foundation/NSObjCRuntime.h +++ b/Headers/Foundation/NSObjCRuntime.h @@ -292,7 +292,7 @@ typedef NS_ENUM(NSInteger, NSComparisonResult) NSOrderedAscending = (NSInteger)-1, NSOrderedSame, NSOrderedDescending }; -enum {NSNotFound = NSIntegerMax}; +static const NSInteger NSNotFound = NSIntegerMax; DEFINE_BLOCK_TYPE(NSComparator, NSComparisonResult, id, id);