ObjFW  Check-in [a3a157e52d]

Overview
Comment:Fix compilation on NetBSD
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a3a157e52d8cd9558392d340f60e6831b13b61d97012eaca2ef07321d3e9daf1
User & Date: js on 2014-02-19 11:18:32
Other Links: manifest | tags
Context
2014-02-19
11:27
OFEnumerator: Fix documentation confusing Clang check-in: 3f59d993a3 user: js tags: trunk
11:18
Fix compilation on NetBSD check-in: a3a157e52d user: js tags: trunk
11:17
OFINICategory: Add missing -[setName:] and -[name] check-in: e6ff688bf4 user: js tags: trunk
Changes

Modified src/OFDate.m from [f7a0f4a2c6] to [310cfd1dbb].

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 *
 * Alternatively, it may be distributed under the terms of the GNU General
 * 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.
 */

#define _POSIX_SOURCE

#include "config.h"

#include <stdint.h>
#include <limits.h>
#include <time.h>
#include <math.h>







|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 *
 * Alternatively, it may be distributed under the terms of the GNU General
 * 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.
 */

#define _XOPEN_SOURCE 500

#include "config.h"

#include <stdint.h>
#include <limits.h>
#include <time.h>
#include <math.h>

Modified src/OFFile.m from [3c2eb32352] to [da59370303].

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 *
 * Alternatively, it may be distributed under the terms of the GNU General
 * 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.
 */

#define _POSIX_C_SOURCE 200112L

#include "config.h"

#define __NO_EXT_QNX

/* Work around a bug with Clang + glibc */
#ifdef __clang__







|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 *
 * Alternatively, it may be distributed under the terms of the GNU General
 * 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.
 */

#define _XOPEN_SOURCE 500

#include "config.h"

#define __NO_EXT_QNX

/* Work around a bug with Clang + glibc */
#ifdef __clang__