sh: Add support stat structure and stat.h

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
Nobuhiro Iwamatsu 2008-03-27 15:44:12 +09:00
parent 4be9eb789e
commit 280df59a8d

View file

@ -126,7 +126,7 @@ struct stat {
#endif /* __MIPS__ */ #endif /* __MIPS__ */
#if defined(__AVR32__) #if defined(__AVR32__) || defined(__SH__)
struct stat { struct stat {
unsigned long st_dev; unsigned long st_dev;
@ -149,7 +149,7 @@ struct stat {
unsigned long __unused5; unsigned long __unused5;
}; };
#endif /* __AVR32__ */ #endif /* __AVR32__ || __SH__ */
#ifdef __cplusplus #ifdef __cplusplus
} }