Differences From Artifact [ccb97c5ea7]:
- File
src/OFThread.m
— part of check-in
[bfc762c6d8]
at
2014-02-23 18:51:54
on branch trunk
— Add missing #define _POSIX_C_SOURCE 199309L
This also removes #include <time.h> from OFHTTPClientTests, as this
would cause <time.h> to be included without _POSIX_C_SOURCE set to
199309L and thus struct timespec would be missing. (user: js, size: 7464) [annotate] [blame] [check-ins using]
To Artifact [3d7fca1f63]:
- File
src/OFThread.m
— part of check-in
[30f95ecdf5]
at
2014-02-23 21:04:32
on branch trunk
— Increase _POSIX_C_SOURCE and _XOPEN_SOURCE
FreeBSD needs this. (user: js, size: 7464) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
11 12 13 14 15 16 17 | * 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 | | | 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> |
︙ | ︙ |