From bccb841bb6fb0bf6388829424abc998d7ccff813 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 24 Jul 2007 04:06:09 +0000 Subject: Don't build my_stat for rtems. --- cpukit/shttpd/compat_rtems.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/shttpd') diff --git a/cpukit/shttpd/compat_rtems.c b/cpukit/shttpd/compat_rtems.c index e3bd11f564..7672ec9d26 100644 --- a/cpukit/shttpd/compat_rtems.c +++ b/cpukit/shttpd/compat_rtems.c @@ -138,7 +138,7 @@ set_close_on_exec(int fd) // but it doesnt hurt either. (void) fcntl(fd, F_SETFD, FD_CLOEXEC); } - +#ifndef __rtems__ int my_stat(const char *path, struct stat *stp) { @@ -174,7 +174,7 @@ my_getcwd(char *buffer, int maxlen) { return (getcwd(buffer, maxlen)); } - +#endif int set_non_blocking_mode(int fd) { -- cgit v1.2.3