mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
Don't build my_stat for rtems.
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user