diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-11-07 15:33:40 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-11-07 15:33:40 +0000 |
commit | b1755fe736898400c88fa030a9667b576fa7e88c (patch) | |
tree | 82969f364015b7fdac9972abf7d533ea5452fe97 /newlib/libc/include/sys | |
parent | cc9dbc905cad82fd4e12882c787c4d0518b4a55c (diff) | |
download | cygnal-b1755fe736898400c88fa030a9667b576fa7e88c.tar.gz cygnal-b1755fe736898400c88fa030a9667b576fa7e88c.tar.bz2 cygnal-b1755fe736898400c88fa030a9667b576fa7e88c.zip |
* libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
(_PC_FILESIZEBITS): Add definition.
(_PC_2_SYMLINKS): Ditto.
(_PC_SYMLINK_MAX): Ditto.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index a670dd735..9b0e8e6b9 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -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 |