]> sourceware.org Git - newlib-cygwin.git/commitdiff
fcntl.h: expose AT_EMPTY_PATH with _GNU_SOURCE only
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 7 Jan 2019 19:09:20 +0000 (20:09 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 7 Jan 2019 19:09:20 +0000 (20:09 +0100)
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
newlib/libc/include/sys/_default_fcntl.h

index 0647e590f45d63a137c4afee6b3d5e20217d7d94..b3177dd69a6189d377aaa2681a4ef7ca1dea78fa 100644 (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) */
This page took 0.031732 seconds and 5 git commands to generate.