ObjFW  Check-in [0c471da638]

Overview
Comment:Avoid redefinition of _LARGEFILE64_SOURCE
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0c471da6388a4a671c62fd7de504f8462b1776cb22cc6c4f8e8636553a71ec62
User & Date: js on 2023-04-24 22:04:23
Other Links: manifest | tags
Context
2023-04-24
22:09
PLATFORMS.md: Add Oracle Solaris 11.4 check-in: 02ed4ae232 user: js tags: trunk
22:04
Avoid redefinition of _LARGEFILE64_SOURCE check-in: 0c471da638 user: js tags: trunk
17:43
configure: Better includes for sockaddr_dl check check-in: 40169c71ae user: js tags: trunk
Changes

Modified src/OFFile.m from [a8a92fb395] to [11d5a8e0e1].

11
12
13
14
15
16
17

18

19
20
21
22
23
24
25
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"


#define _LARGEFILE64_SOURCE


#include <errno.h>

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







>
|
>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 * Public License, either version 2 or 3, which can be found in the file
 * 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
#include "unistd_wrapper.h"

Modified src/OFFileIRIHandler.m from [67787a62da] to [06f45f3b90].

11
12
13
14
15
16
17

18

19
20
21
22
23
24
25
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"


#define _LARGEFILE64_SOURCE


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

#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif







>
|
>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 * Public License, either version 2 or 3, which can be found in the file
 * 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>
#endif