ObjFW  Check-in [30f95ecdf5]

Overview
Comment:Increase _POSIX_C_SOURCE and _XOPEN_SOURCE

FreeBSD needs this.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 30f95ecdf50ed89c3ba58c501cace13744e43c828385456d5561988a8d2b6897
User & Date: js on 2014-02-23 21:04:32
Other Links: manifest | tags
Context
2014-02-24
03:00
Update buildsys check-in: 053bccb220 user: js tags: trunk
2014-02-23
21:04
Increase _POSIX_C_SOURCE and _XOPEN_SOURCE check-in: 30f95ecdf5 user: js tags: trunk
20:43
configure.ac: Check for buggy -Wdocumentation check-in: 42c76bff23 user: js tags: trunk
Changes

Modified src/OFFile.m from [eec4f1303b] to [419342bfc8].

11
12
13
14
15
16
17
18

19
20
21
22
23
24
25
26
27
28
29
 * 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 */
#ifdef __clang__
# define _HAVE_STRING_ARCH_strcmp
#endif

#include <stdio.h>







|
>


<
<







11
12
13
14
15
16
17
18
19
20
21


22
23
24
25
26
27
28
 * 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 600
#define __NO_EXT_QNX

#include "config.h"



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

#include <stdio.h>

Modified src/OFThread.m from [ccb97c5ea7] to [3d7fca1f63].

11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 * 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 OF_THREAD_M
#define _POSIX_C_SOURCE 199309L
#define __NO_EXT_QNX

#include "config.h"

#include <stdlib.h>
#include <math.h>
#include <time.h>







|







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 * 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 OF_THREAD_M
#define _POSIX_C_SOURCE 200112L
#define __NO_EXT_QNX

#include "config.h"

#include <stdlib.h>
#include <math.h>
#include <time.h>