fcntl.h: expose AT_EMPTY_PATH with _GNU_SOURCE only

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2019-01-07 20:09:20 +01:00
parent 9443efe099
commit fe8f406cc6
1 changed files with 2 additions and 0 deletions

View File

@ -166,8 +166,10 @@ extern "C" {
#define AT_SYMLINK_NOFOLLOW 2
#define AT_SYMLINK_FOLLOW 4
#define AT_REMOVEDIR 8
#if __GNU_VISIBLE
#define AT_EMPTY_PATH 16
#endif
#endif
#if __BSD_VISIBLE
/* lock operations for flock(2) */