ObjFW  Check-in [fba60b6967]

Overview
Comment:Define _LARGEFILE64_SOURCE to 1

Just defining it isn't enough on QNX, it needs to have a value.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fba60b6967ad6deb07d413ee445a8ae63d28072d9f09f674f24266ec34e4b067
User & Date: js on 2024-04-01 16:01:06
Other Links: manifest | tags
Context
2024-04-01
21:07
Fix objfw-embed on QNX check-in: 5e128fd25e user: js tags: trunk
16:01
Define _LARGEFILE64_SOURCE to 1 check-in: fba60b6967 user: js tags: trunk
15:59
Remove #define __NO_EXT_QNX check-in: cf0effe834 user: js tags: trunk
Changes

Modified src/OFFile.m from [a835c0f98a] to [4b56e559f4].

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

#ifndef _LARGEFILE64_SOURCE
# define _LARGEFILE64_SOURCE
#endif

#include <errno.h>

#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif







|







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

#ifndef _LARGEFILE64_SOURCE
# define _LARGEFILE64_SOURCE 1
#endif

#include <errno.h>

#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif

Modified src/OFFileIRIHandler.m from [029e0b431e] to [b3f1e2319f].

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

#ifndef _LARGEFILE64_SOURCE
# define _LARGEFILE64_SOURCE
#endif

#include <errno.h>
#include <math.h>

#ifdef HAVE_DIRENT_H
# include <dirent.h>







|







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

#ifndef _LARGEFILE64_SOURCE
# define _LARGEFILE64_SOURCE 1
#endif

#include <errno.h>
#include <math.h>

#ifdef HAVE_DIRENT_H
# include <dirent.h>