Differences From Artifact [aa33d9d534]:
- File
src/OFDate.m
— part of check-in
[e30269f87e]
at
2014-02-20 15:40:40
on branch trunk
— Restore _POSIX_C_SOURCE
OS X needs this. (user: js, size: 12785) [annotate] [blame] [check-ins using]
To Artifact [64b9648b5e]:
- File
src/OFDate.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: 12795) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
10 11 12 13 14 15 16 | * * 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. */ | | | 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 199309L #define _XOPEN_SOURCE 500 #include "config.h" #include <stdint.h> #include <limits.h> #include <time.h> |
︙ | ︙ |