Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-10-17 23:28:35 +0400
committerCorinna Vinschen <corinna@vinschen.de>2001-10-17 23:28:35 +0400
commitb4e98df6bc7c1e914e8480b15e07c7094b8f035c (patch)
tree14474e55445fa0bc890d6b8169a55612e9efca25
parente34027611aee68eb3e2467db874137f22ba5c204 (diff)
Add __rtems__ as system defining fchdir().
-rw-r--r--newlib/ChangeLog2
-rw-r--r--newlib/libc/include/sys/unistd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 3bc1e73b1..8a9e2d6bb 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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>
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index c59212c78..b9e7690a4 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 ));