OSDN Git Service

Add __rtems__ as system defining fchdir().
authorcorinna <corinna>
Wed, 17 Oct 2001 19:28:33 +0000 (19:28 +0000)
committercorinna <corinna>
Wed, 17 Oct 2001 19:28:33 +0000 (19:28 +0000)
newlib/ChangeLog
newlib/libc/include/sys/unistd.h

index 3bc1e73..8a9e2d6 100644 (file)
@@ -1,7 +1,7 @@
 2001-10-17  Corinna Vinschen  <corinna@vinschen.de>
 
        * 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>
 
index c59212c..b9e7690 100644 (file)
@@ -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 ));