FSF GCC merge 02/23/03
[official-gcc.git] / gcc / fixinc / tests / base / sys / stat.h
blob6893e6bdf27f28c36ce91af2fcaf460c5475d615
1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/sys/stat.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
12 #if defined( RS6000_FCHMOD_CHECK )
13 extern int fchmod(int, mode_t);
14 #endif /* RS6000_FCHMOD_CHECK */
17 #if defined( SCO_STATIC_FUNC_CHECK )
18 #ifdef __STDC__
19 #if __cplusplus
20 extern "C" {
21 #endif /* __cplusplus */
22 static int stat(const char *__f, struct stat *__p) {
23 return __stat32(__f, __p);
25 #if __cplusplus
27 #endif /* __cplusplus */
29 # else /* !__STDC__ THIS FAILS ON BSD SYSTEMS */
30 #if __cplusplus
31 extern "C" {
32 #endif /* __cplusplus */
33 static int stat(__f, __p)
34 char *__f;
35 struct stat *__p;
37 return __stat32(__f, __p);
39 #if __cplusplus
41 #endif /* __cplusplus */
42 #endif
43 #endif /* SCO_STATIC_FUNC_CHECK */
46 #if defined( ULTRIX_STAT_CHECK )
47 @(#)stat.h 6.1 (ULTRIX)
48 #define S_IFPORT S_IFIFO
50 /* macro to test for symbolic link */
51 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
53 fstat(),
54 lstat(),
55 /* THE INSERTION LINE FAILS ON BSD SYSTEMS */
56 #endif /* ULTRIX_STAT_CHECK */
59 #if defined( VXWORKS_NEEDS_VXWORKS_CHECK )
60 #include </dev/null> /* ULONG */
61 # define __INCstath <sys/stat.h>
62 #include <types/vxTypesOld.h>
63 #endif /* VXWORKS_NEEDS_VXWORKS_CHECK */