mirror of https://github.com/ericonr/erm.git
90693c6d04
_POSIX_C_SOURCE is necessary for getopt(3), and _DEFAULT_SOURCE is necessary for the d_type enumerations in struct dirent. Since we are here, use the C11 standard explicitly. These fixes only allow us to build with glibc>=2.28, which is when the <threads.h> header was added [1], necessary to access the thread_local macro. [1] https://stackoverflow.com/a/22875599 |
||
---|---|---|
.gitignore | ||
Makefile | ||
erm.c | ||
erm.h | ||
remove.c |