public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] fcntl.h: expose AT_EMPTY_PATH with _GNU_SOURCE only
@ 2019-01-07 19:09 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2019-01-07 19:09 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fe8f406cc663f1930cce4bb1ef23c01623d93c14
commit fe8f406cc663f1930cce4bb1ef23c01623d93c14
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Mon Jan 7 20:09:20 2019 +0100
fcntl.h: expose AT_EMPTY_PATH with _GNU_SOURCE only
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
newlib/libc/include/sys/_default_fcntl.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/newlib/libc/include/sys/_default_fcntl.h b/newlib/libc/include/sys/_default_fcntl.h
index 0647e59..b3177dd 100644
--- a/newlib/libc/include/sys/_default_fcntl.h
+++ b/newlib/libc/include/sys/_default_fcntl.h
@@ -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) */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-07 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-07 19:09 [newlib-cygwin] fcntl.h: expose AT_EMPTY_PATH with _GNU_SOURCE only Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).