From c7ee75cd2e3e59d920c2539e70ce65358568f6fc Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 19 Mar 2001 10:54:55 +0000 Subject: * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and _PC_POSIX_SECURITY constants for Cygwin. --- newlib/libc/include/sys/unistd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'newlib/libc') diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 9741dafb5..2da98790b 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -228,6 +228,12 @@ extern const unsigned _cygwin_X_OK; # define _PC_ASYNC_IO 9 # define _PC_PRIO_IO 10 # define _PC_SYNC_IO 11 +#ifdef __CYGWIN__ +/* Ask for POSIX permission bits support. */ +# define _PC_POSIX_PERMISSIONS 90 +/* Ask for full POSIX permission support including uid/gid settings. */ +# define _PC_POSIX_SECURITY 91 +#endif /* FIXME: This is temporary until winsup gets sorted out. */ #ifdef __CYGWIN__ -- cgit v1.2.3