diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-04-04 22:41:11 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-04-04 22:41:11 +0000 |
commit | 6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9 (patch) | |
tree | 04c16a09dc72fc5f5379865a9916b2ec8c8f4616 /newlib/libc/include | |
parent | 244a8fae426a68ad51cd610cebd1361a834d676a (diff) | |
download | cygnal-6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9.tar.gz cygnal-6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9.tar.bz2 cygnal-6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9.zip |
2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Add support for installing crt1.o if one exists.
* configure.host: Specify crt1.o for linux.
* configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
* Makefile.in: Regenerated.
* configure: Ditto.
* libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
Added for non-Cygwin, non-RTEMS configurations.
* libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/crt1.c: New empty file to override one defaulted
by gcc. This fixes problem with reconfiguring linux newlib build.
* libc/sys/linux/sysconf.c: New file.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index d7e46a7ec..70682b2e0 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -234,6 +234,11 @@ int _EXFUN(symlink, (const char *__name1, const char *__name2)); #define _SC_GETPW_R_SIZE_MAX 51 #define _SC_LOGIN_NAME_MAX 52 #define _SC_THREAD_DESTRUCTOR_ITERATIONS 53 + +#if !defined(__CYGWIN__) && !defined(__rtems__) +#define _SC_STREAM_MAX 100 +#define _SC_PRIORITY_SCHEDULING 101 +#endif # define _PC_LINK_MAX 0 # define _PC_MAX_CANON 1 |