mirror of
https://github.com/facebook/zstd.git
synced 2025-12-02 00:02:47 -05:00
Also Define _ATFILE_SOURCE
This commit is contained in:
parent
5666835ea7
commit
e2a99db2dd
@ -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
|
||||||
************************************************/
|
************************************************/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user