ObjFW  Check-in [a3caef326b]

Overview
Comment:OFSystemInfo: Add fallback to MAX_PATH
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a3caef326bc897e4676ac15e8aa208efc46dd306e0ae443f921ffaffbc8f6be6
User & Date: js on 2022-10-30 18:25:12
Other Links: manifest | tags
Context
2022-10-30
18:27
utils/objfw-new: Fix signedness bug check-in: 39f75cb424 user: js tags: trunk
18:25
OFSystemInfo: Add fallback to MAX_PATH check-in: a3caef326b user: js tags: trunk
2022-10-26
22:17
OFDDPSocket: Revert not including node in bind check-in: 8866fca78d user: js tags: trunk
Changes

Modified src/OFSystemInfo.m from [fb8661ad24] to [9f095b0c1c].

66
67
68
69
70
71
72




73
74
75
76
77
78
79
#endif
#ifdef OF_HAIKU
# include <FindDirectory.h>
#endif
#ifdef OF_QNX
# include <sys/syspage.h>
#endif





#if defined(OF_MACOS) || defined(OF_IOS)
/*
 * These have been dropped from newer iOS SDKs, however, their replacements are
 * not available on iOS < 10. This means it's impossible to search for the
 * paths when using a new SDK while targeting iOS 9 or earlier. To work around
 * this, we define those manually, only to be used when the replacements are







>
>
>
>







66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#endif
#ifdef OF_HAIKU
# include <FindDirectory.h>
#endif
#ifdef OF_QNX
# include <sys/syspage.h>
#endif

#if !defined(PATH_MAX) && defined(MAX_PATH)
# define PATH_MAX MAX_PATH
#endif

#if defined(OF_MACOS) || defined(OF_IOS)
/*
 * These have been dropped from newer iOS SDKs, however, their replacements are
 * not available on iOS < 10. This means it's impossible to search for the
 * paths when using a new SDK while targeting iOS 9 or earlier. To work around
 * this, we define those manually, only to be used when the replacements are