Differences From Artifact [5bb4fe2eb8]:
- File
src/OFObject.h
— part of check-in
[e571ecccc0]
at
2012-04-21 10:30:01
on branch trunk
— Use __objc_yes and __objc_no if available.
This way, @YES and @NO work. (user: js, size: 16188) [annotate] [blame] [check-ins using]
To Artifact [34ca0c3322]:
- File src/OFObject.h — part of check-in [66db4586f7] at 2012-04-21 11:02:10 on branch trunk — Fix __has_feature check. (user: js, size: 16196) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
29 30 31 32 33 34 35 | #ifdef OF_OBJFW_RUNTIME # import <objfw-rt.h> #else # import <objc/objc.h> #endif | > | | | | | > | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #ifdef OF_OBJFW_RUNTIME # import <objfw-rt.h> #else # import <objc/objc.h> #endif #ifdef __has_feature # if __has_feature(objc_bool) # undef YES # define YES __objc_yes # undef NO # define NO __objc_no # endif #endif #define OF_RETAIN_COUNT_MAX UINT_MAX #define OF_INVALID_INDEX SIZE_MAX /** * \brief A result of a comparison. |
︙ | ︙ |