diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-10-17 19:28:35 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-10-17 19:28:35 +0000 |
commit | b4e98df6bc7c1e914e8480b15e07c7094b8f035c (patch) | |
tree | 14474e55445fa0bc890d6b8169a55612e9efca25 /newlib/libc | |
parent | e34027611aee68eb3e2467db874137f22ba5c204 (diff) | |
download | newlib-b4e98df6bc7c1e914e8480b15e07c7094b8f035c.zip newlib-b4e98df6bc7c1e914e8480b15e07c7094b8f035c.tar.gz newlib-b4e98df6bc7c1e914e8480b15e07c7094b8f035c.tar.bz2 |
Add __rtems__ as system defining fchdir().
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index c59212c..b9e7690 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -35,7 +35,7 @@ int _EXFUN(execlp, (const char *__file, const char *, ... )); int _EXFUN(execv, (const char *__path, char * const __argv[] )); int _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] )); int _EXFUN(execvp, (const char *__file, char * const __argv[] )); -#if defined(__CYGWIN__) +#if defined(__CYGWIN__) || defined(__rtems__) int _EXFUN(fchdir, (int __fildes)); #endif int _EXFUN(fchmod, (int __fildes, mode_t __mode )); |