* libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.

(_PC_FILESIZEBITS): Add definition.
	(_PC_2_SYMLINKS): Ditto.
	(_PC_SYMLINK_MAX): Ditto.
This commit is contained in:
Corinna Vinschen 2006-11-07 15:33:40 +00:00
parent cc9dbc905c
commit b1755fe736
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2006-11-07 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
(_PC_FILESIZEBITS): Add definition.
(_PC_2_SYMLINKS): Ditto.
(_PC_SYMLINK_MAX): Ditto.
2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
* libc/machine/spu/memcpy.c: Override generic function with vectorized

View File

@ -303,8 +303,10 @@ int _EXFUN(symlink, (const char *__name1, const char *__name2));
#define _SC_LOGIN_NAME_MAX 52
#define _SC_THREAD_DESTRUCTOR_ITERATIONS 53
#if !defined(__CYGWIN__) && !defined(__rtems__)
#if !defined(__rtems__)
#define _SC_STREAM_MAX 100
#endif
#if !defined(__CYGWIN__) && !defined(__rtems__)
#define _SC_PRIORITY_SCHEDULING 101
#endif
@ -320,6 +322,9 @@ int _EXFUN(symlink, (const char *__name1, const char *__name2));
# define _PC_ASYNC_IO 9
# define _PC_PRIO_IO 10
# define _PC_SYNC_IO 11
# define _PC_FILESIZEBITS 12
# define _PC_2_SYMLINKS 13
# define _PC_SYMLINK_MAX 14
#ifdef __CYGWIN__
/* Ask for POSIX permission bits support. */
# define _PC_POSIX_PERMISSIONS 90