Update Headers/Foundation/NSObjCRuntime.h

improve comment

Co-authored-by: Frederik Seiffert <frederik@algoriddim.com>
This commit is contained in:
Riccardo 2025-04-01 17:57:40 +02:00 committed by GitHub
parent 6e39f11098
commit bce2a0bc96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -293,6 +293,7 @@ typedef NS_ENUM(NSInteger, NSComparisonResult)
};
// check for older versions of GCC and try to ignore clang pretending to know GNUC dialects
// in order to work around error "initializer element is not constant" in older GCC versions
#if defined(__GNUC__) && !defined(__clang__) && GCC_VERSION < 80000
enum {NSNotFound = NSIntegerMax};
#else