diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-07-24 04:06:09 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-07-24 04:06:09 +0000 |
commit | bccb841bb6fb0bf6388829424abc998d7ccff813 (patch) | |
tree | 275c746c2993219b30816ed31261deb42d019c1c /cpukit/shttpd | |
parent | Prefix all non-public symbols with _shttp_. (diff) | |
download | rtems-bccb841bb6fb0bf6388829424abc998d7ccff813.tar.bz2 |
Don't build my_stat for rtems.
Diffstat (limited to 'cpukit/shttpd')
-rw-r--r-- | cpukit/shttpd/compat_rtems.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |