mirror of
https://github.com/facebook/zstd.git
synced 2025-08-07 06:23:00 +03:00
Also Define _ATFILE_SOURCE
This commit is contained in:
@@ -109,6 +109,15 @@ extern "C" {
|
|||||||
#endif /* PLATFORM_POSIX_VERSION */
|
#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
|
* Detect if isatty() and fileno() are available
|
||||||
************************************************/
|
************************************************/
|
||||||
|
Reference in New Issue
Block a user