fcntl.h: expose AT_EMPTY_PATH with _GNU_SOURCE only
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
9443efe099
commit
fe8f406cc6
@ -166,8 +166,10 @@ extern "C" {
|
|||||||
#define AT_SYMLINK_NOFOLLOW 2
|
#define AT_SYMLINK_NOFOLLOW 2
|
||||||
#define AT_SYMLINK_FOLLOW 4
|
#define AT_SYMLINK_FOLLOW 4
|
||||||
#define AT_REMOVEDIR 8
|
#define AT_REMOVEDIR 8
|
||||||
|
#if __GNU_VISIBLE
|
||||||
#define AT_EMPTY_PATH 16
|
#define AT_EMPTY_PATH 16
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __BSD_VISIBLE
|
#if __BSD_VISIBLE
|
||||||
/* lock operations for flock(2) */
|
/* lock operations for flock(2) */
|
||||||
|
Loading…
Reference in New Issue
Block a user