ObjFW  Check-in [f2891af000]

Overview
Comment:macros.h: Add missing #else

Nothing breaks, but just in case we ever have an Objective-C compiler
that is not GCC-compatible.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f2891af000255cb372530581158723339e30899095ba1ddbe24a24b5d2a17694
User & Date: js on 2023-10-15 14:59:45
Other Links: manifest | tags
Context
2023-10-15
16:20
Fix compatibility with LibreSSL check-in: d310fdf719 user: js tags: trunk
14:59
macros.h: Add missing #else check-in: f2891af000 user: js tags: trunk
14:55
Add OFHTTPRequestMethodString() check-in: 12c09ef41e user: js tags: trunk
Changes

Modified src/macros.h from [1006063eb3] to [8e5d433333].

292
293
294
295
296
297
298


299
300
301
302
303
304
305
# define OF_DESIGNATED_INITIALIZER
#endif

#ifdef __GNUC__
# define OF_DEPRECATED(project, major, minor, msg)		\
    __attribute__((__deprecated__("Deprecated in " #project " "	\
    #major "." #minor ": " msg)))


#endif

#if __has_attribute(__objc_boxable__)
# define OF_BOXABLE __attribute__((__objc_boxable__))
#else
# define OF_BOXABLE
#endif







>
>







292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# define OF_DESIGNATED_INITIALIZER
#endif

#ifdef __GNUC__
# define OF_DEPRECATED(project, major, minor, msg)		\
    __attribute__((__deprecated__("Deprecated in " #project " "	\
    #major "." #minor ": " msg)))
#else
# define OF_DEPRECATED(project, major, minor, msg)
#endif

#if __has_attribute(__objc_boxable__)
# define OF_BOXABLE __attribute__((__objc_boxable__))
#else
# define OF_BOXABLE
#endif