Differences From Artifact [f31c61d4b5]:
- File
src/OFFile.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: 21720) [annotate] [blame] [check-ins using]
To Artifact [5df3b4edba]:
- File src/OFFile.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: 21811) [annotate] [blame] [check-ins using]
︙ | |||
24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | + + + + + | #endif #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> /* Work around __block being used by glibc */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif #include <unistd.h> #include <fcntl.h> #include <dirent.h> #ifdef HAVE_PWD_H |
︙ |