1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

Also Define _ATFILE_SOURCE

This commit is contained in:
W. Felix Handte
2019-12-05 12:02:35 -05:00
parent 5666835ea7
commit e2a99db2dd

View File

@ -109,6 +109,15 @@ extern "C" {
#endif /* PLATFORM_POSIX_VERSION */
#if PLATFORM_POSIX_VERSION > 1
/* glibc < 2.26 may not expose struct timespec def without this.
* See issue #1920. */
# ifndef _ATFILE_SOURCE
# define _ATFILE_SOURCE
# endif
#endif
/*-*********************************************
* Detect if isatty() and fileno() are available
************************************************/