Differences From Artifact [816fb9bfe7]:
- File
src/OFProcess.m
— part of check-in
[17be12b6e5]
at
2014-05-15 01:50:04
on branch trunk
— Don't define _*_SOURCE
Instead, just define _GNU_SOURCE when __GLIBC__ is defined. After all,
that's the only libc that doesn't work properly without any defines. (user: js, size: 11893) [annotate] [blame] [check-ins using]
To Artifact [521a1f3185]:
- File src/OFProcess.m — part of check-in [d1e559b643] at 2014-05-29 21:27:34 on branch trunk — Work around __block being used by old glibc (user: js, size: 11984) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #include <string.h> #ifndef _WIN32 # include <unistd.h> # include <signal.h> # include <sys/wait.h> #endif | > > > > > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #include <string.h> /* Work around __block being used by glibc */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif #ifndef _WIN32 # include <unistd.h> # include <signal.h> # include <sys/wait.h> #endif |
︙ | ︙ |