ObjFW  Check-in [d2ad773ef4]

Overview
Comment:src/platform.h: Better check for iOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.90
Files: files | file ages | folders
SHA3-256: d2ad773ef41de4778847496c7df024d300418307e064ca225bc73cd852c8e790
User & Date: js on 2017-10-19 21:05:03
Other Links: branch diff | manifest | tags
Context
2017-10-19
21:07
Xcode project: Set correct version for bridge check-in: eec9a82059 user: js tags: 0.90
21:05
src/platform.h: Better check for iOS check-in: d2ad773ef4 user: js tags: 0.90
2017-10-17
21:04
OFMutableSet: Add missing override for -[copy] check-in: 3677275df7 user: js tags: 0.90
Changes

Modified src/platform.h from [fb66e8de0c] to [7979b37a4b].

67
68
69
70
71
72
73
74

75
76
77
78
79
80
81
# define OF_SPARC64
#elif defined(__sparc__) && !defined(__arch64__)
# define OF_SPARC
#endif

#if defined(__APPLE__)
# include <TargetConditionals.h>
# if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE

#  define OF_IOS
# else
#  define OF_MACOS
# endif
#elif defined(__linux__)
# define OF_LINUX
#elif defined(_WIN32)







|
>







67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# define OF_SPARC64
#elif defined(__sparc__) && !defined(__arch64__)
# define OF_SPARC
#endif

#if defined(__APPLE__)
# include <TargetConditionals.h>
# if (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) || \
    (defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR)
#  define OF_IOS
# else
#  define OF_MACOS
# endif
#elif defined(__linux__)
# define OF_LINUX
#elif defined(_WIN32)