ObjFW  Diff

Differences From Artifact [5242dae164]:

To Artifact [b59326f934]:


47
48
49
50
51
52
53
54
55
56
57
58
59



60
61
62
63
64
65
66
# define __has_feature(x) 0
#endif

#if defined(__clang__)
# define OF_HAVE_PROPERTIES
# define OF_HAVE_OPTIONAL_PROTOCOLS
# define OF_HAVE_FAST_ENUMERATION
#elif defined(__GNUC__)
# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
#  define OF_HAVE_PROPERTIES
#  define OF_HAVE_OPTIONAL_PROTOCOLS
#  define OF_HAVE_FAST_ENUMERATION
# endif



#endif

#if __has_feature(blocks)
# define OF_HAVE_BLOCKS
#endif

#if __has_feature(objc_bool)







|
<
|
|
|
|
>
>
>







47
48
49
50
51
52
53
54

55
56
57
58
59
60
61
62
63
64
65
66
67
68
# define __has_feature(x) 0
#endif

#if defined(__clang__)
# define OF_HAVE_PROPERTIES
# define OF_HAVE_OPTIONAL_PROTOCOLS
# define OF_HAVE_FAST_ENUMERATION
#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC__) >= 406

# define OF_HAVE_PROPERTIES
# define OF_HAVE_OPTIONAL_PROTOCOLS
# define OF_HAVE_FAST_ENUMERATION
#endif

#if !__has_feature(objc_instancetype)
# define instancetype id
#endif

#if __has_feature(blocks)
# define OF_HAVE_BLOCKS
#endif

#if __has_feature(objc_bool)