ObjFW  Check-in [ae0899ef7c]

Overview
Comment:Fix compilation for PSP
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ae0899ef7c97fa5f13b246c20168a9c2a0bbfadf8c3cbaf49fdfa36034f71510
User & Date: js on 2018-04-24 00:06:48
Other Links: manifest | tags
Context
2018-04-26
22:27
.travis.yml: Test with compiler TLS disabled check-in: 25c8296a5b user: js tags: trunk
2018-04-24
00:06
Fix compilation for PSP check-in: ae0899ef7c user: js tags: trunk
2018-04-23
22:19
Use more native AmigaOS APIs on AmigaOS 3 check-in: b16fc262c0 user: js tags: trunk
Changes

Modified src/OFFileManager.m from [6bf29cf1ec] to [61a3729f18].

15
16
17
18
19
20
21
22
23


24
25
26
27
28
29
30
 * file.
 */

#include "config.h"

#include <errno.h>
#include <limits.h>

#include "unistd_wrapper.h"



#ifdef OF_PSP
# include <sys/syslimits.h>
#endif

#import "OFArray.h"
#import "OFDate.h"







<

>
>







15
16
17
18
19
20
21

22
23
24
25
26
27
28
29
30
31
 * file.
 */

#include "config.h"

#include <errno.h>
#include <limits.h>

#include "unistd_wrapper.h"

#import "platform.h"

#ifdef OF_PSP
# include <sys/syslimits.h>
#endif

#import "OFArray.h"
#import "OFDate.h"

Modified src/unistd_wrapper.h from [9807fe4f29] to [22f65b4810].

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 * file.
 */

#include "config.h"

#include <stdlib.h>	/* Make sure we have any libc include */

#if defined(HAVE_UNISTD_H)
# ifdef __GLIBC__
#  undef __USE_XOPEN	/* Needed to avoid old glibc using __block */
# endif
# include <unistd.h>
# ifdef __GLIBC__
#  define __USE_XOPEN 1
# endif
#endif







|








14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 * file.
 */

#include "config.h"

#include <stdlib.h>	/* Make sure we have any libc include */

#ifdef HAVE_UNISTD_H
# ifdef __GLIBC__
#  undef __USE_XOPEN	/* Needed to avoid old glibc using __block */
# endif
# include <unistd.h>
# ifdef __GLIBC__
#  define __USE_XOPEN 1
# endif
#endif