Add __rtems__ as system defining fchdir().

This commit is contained in:
Corinna Vinschen 2001-10-17 19:28:35 +00:00
parent e34027611a
commit b4e98df6bc
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
2001-10-17 Corinna Vinschen <corinna@vinschen.de> 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/unistd.h: Add prototype for fchdir() when * libc/include/sys/unistd.h: Add prototype for fchdir() when
__CYGWIN__ is defined. __CYGWIN__ or __rtems__ is defined.
2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>

View File

@ -35,7 +35,7 @@ int _EXFUN(execlp, (const char *__file, const char *, ... ));
int _EXFUN(execv, (const char *__path, char * const __argv[] )); int _EXFUN(execv, (const char *__path, char * const __argv[] ));
int _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] )); int _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] ));
int _EXFUN(execvp, (const char *__file, char * const __argv[] )); int _EXFUN(execvp, (const char *__file, char * const __argv[] ));
#if defined(__CYGWIN__) #if defined(__CYGWIN__) || defined(__rtems__)
int _EXFUN(fchdir, (int __fildes)); int _EXFUN(fchdir, (int __fildes));
#endif #endif
int _EXFUN(fchmod, (int __fildes, mode_t __mode )); int _EXFUN(fchmod, (int __fildes, mode_t __mode ));