ObjFW  Check-in [e30269f87e]

Overview
Comment:Restore _POSIX_C_SOURCE

OS X needs this.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e30269f87eeace12fe996edbdde083e7ccc32071a52879fcef879fa856a3fd44
User & Date: js on 2014-02-20 15:40:40
Other Links: manifest | tags
Context
2014-02-20
22:29
Don't use __builtin_eh_return_data_regno for SjLj check-in: 65a0124f8d user: js tags: trunk
16:04
Add forwardingTargetForSelector: for AMD64/Win64 check-in: 0ce296bbb5 user: js tags: trunk
15:40
Restore _POSIX_C_SOURCE check-in: e30269f87e user: js tags: trunk
Changes

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

10
11
12
13
14
15
16

17
18
19
20
21
22
23
 *
 * 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>







>







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
#define _XOPEN_SOURCE 500

#include "config.h"

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

Modified src/OFFile.m from [da59370303] to [eec4f1303b].

10
11
12
13
14
15
16

17
18
19
20
21
22
23
 *
 * 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 */







>







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
#define _XOPEN_SOURCE 500

#include "config.h"

#define __NO_EXT_QNX

/* Work around a bug with Clang + glibc */