* libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
_PC_POSIX_SECURITY constants for Cygwin.
This commit is contained in:
parent
94b03f2380
commit
c7ee75cd2e
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
|
||||||
|
_PC_POSIX_SECURITY constants for Cygwin.
|
||||||
|
|
||||||
Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* libc/sys/cygwin/crt0.c: Add copyright hint.
|
* libc/sys/cygwin/crt0.c: Add copyright hint.
|
||||||
|
|
|
@ -228,6 +228,12 @@ extern const unsigned _cygwin_X_OK;
|
||||||
# define _PC_ASYNC_IO 9
|
# define _PC_ASYNC_IO 9
|
||||||
# define _PC_PRIO_IO 10
|
# define _PC_PRIO_IO 10
|
||||||
# define _PC_SYNC_IO 11
|
# 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. */
|
/* FIXME: This is temporary until winsup gets sorted out. */
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
|
|
Loading…
Reference in New Issue