OSDN Git Service

diff of diff does not work well, so use expected test result files
[pf3gnuchains/gcc-fork.git] / gcc / fixinc / tests / base / sys / stat.h
1
2
3 #if defined( M88K_BAD_S_IF_CHECK )
4 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* is regular? */
5 #endif  /* M88K_BAD_S_IF_CHECK */
6
7
8 #if defined( RS6000_FCHMOD_CHECK )
9 extern int fchmod(int, mode_t);
10 #endif  /* RS6000_FCHMOD_CHECK */
11
12
13 #if defined( SCO_STATIC_FUNC_CHECK )
14 #ifdef __STDC__
15 #if __cplusplus
16 extern "C" {
17 #endif /* __cplusplus */
18 static int      stat(const char *__f, struct stat *__p) {
19 return __stat32(__f, __p);
20 }
21 #if __cplusplus
22  }
23 #endif /* __cplusplus */
24
25 #  else /* !__STDC__ */
26 #if __cplusplus
27 extern "C" {
28 #endif /* __cplusplus */
29 static int      stat(__f, __p)
30 char *__f;
31 struct stat *__p;
32 {
33 return __stat32(__f, __p);
34 }
35 #if __cplusplus
36  }
37 #endif /* __cplusplus */
38 #endif
39 #endif  /* SCO_STATIC_FUNC_CHECK */