Don't build my_stat for rtems.

This commit is contained in:
Ralf Corsepius
2007-07-24 04:06:09 +00:00
parent d4253cf789
commit bccb841bb6

View File

@@ -138,7 +138,7 @@ set_close_on_exec(int fd)
// but it doesnt hurt either. // but it doesnt hurt either.
(void) fcntl(fd, F_SETFD, FD_CLOEXEC); (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
} }
#ifndef __rtems__
int int
my_stat(const char *path, struct stat *stp) my_stat(const char *path, struct stat *stp)
{ {
@@ -174,7 +174,7 @@ my_getcwd(char *buffer, int maxlen)
{ {
return (getcwd(buffer, maxlen)); return (getcwd(buffer, maxlen));
} }
#endif
int int
set_non_blocking_mode(int fd) set_non_blocking_mode(int fd)
{ {