ObjFW  Check-in [d873fe13b8]

Overview
Comment:src/platform.h: Better check for iOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d873fe13b8c221ad4853219b6385eb3cd5efb724b678245c42469c4ff084ad01
User & Date: js on 2017-10-19 21:04:17
Other Links: manifest | tags
Context
2017-10-19
21:07
Xcode project: Set correct library versions check-in: 9886c3f0b3 user: js tags: trunk
21:04
src/platform.h: Better check for iOS check-in: d873fe13b8 user: js tags: trunk
21:01
scripts/build_ios.sh: Build for i386 simulator check-in: 7a13072b7d user: js tags: trunk
Changes

Modified src/platform.h from [061adc67a6] to [9d794a2dcc].

72
73
74
75
76
77
78
79

80
81
82
83
84
85
86
# define OF_PA_RISC
#elif defined(__ia64__) || defined(__IA64__)
# define OF_ITANIUM
#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)







|
>







72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# define OF_PA_RISC
#elif defined(__ia64__) || defined(__IA64__)
# define OF_ITANIUM
#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)