NEWS/Changelog for previous commit.
[fvwm.git] / libs / fvwm_sys_stat.h
blob6c7fc8fde936abcd6e9098cf7fe7dec584b1d663
1 #ifdef HAVE_SYS_STAT_H
2 #include <sys/stat.h>
3 #endif
4 #ifndef S_IRWXO
5 # define FVWM_S_IRWXO 0007
6 #else
7 # define FVWM_S_IRWXO S_IRWXO
8 #endif
9 #ifndef S_ISUID
10 # define FVWM_S_ISUID 0004000
11 #else
12 # define FVWM_S_ISUID S_ISUID
13 #endif
14 #ifndef S_ISGID
15 # define FVWM_S_ISGID 0002000
16 #else
17 # define FVWM_S_ISGID S_ISGID
18 #endif
19 #ifndef S_ISVTX
20 # define FVWM_S_ISVTX 0001000
21 #else
22 # define FVWM_S_ISVTX S_ISVTX
23 #endif
24 #ifndef S_IRWXU
25 # define FVWM_S_IRWXU 00700
26 #else
27 # define FVWM_S_IRWXU S_IRWXU
28 #endif
29 #ifndef S_IRUSR
30 # define FVWM_S_IRUSR 00400
31 #else
32 # define FVWM_S_IRUSR S_IRUSR
33 #endif
34 #ifndef S_IWUSR
35 # define FVWM_S_IWUSR 00200
36 #else
37 # define FVWM_S_IWUSR S_IWUSR
38 #endif
39 #ifndef S_IXUSR
40 # define FVWM_S_IXUSR 00100
41 #else
42 # define FVWM_S_IXUSR S_IXUSR
43 #endif
44 #ifndef S_IRWXG
45 # define FVWM_S_IRWXG 00070
46 #else
47 # define FVWM_S_IRWXG S_IRWXG
48 #endif
49 #ifndef S_IRGRP
50 # define FVWM_S_IRGRP 00040
51 #else
52 # define FVWM_S_IRGRP S_IRGRP
53 #endif
54 #ifndef S_IWGRP
55 # define FVWM_S_IWGRP 00020
56 #else
57 # define FVWM_S_IWGRP S_IWGRP
58 #endif
59 #ifndef S_IXGRP
60 # define FVWM_S_IXGRP 00010
61 #else
62 # define FVWM_S_IXGRP S_IXGRP
63 #endif
64 #ifndef S_IRWXO
65 # define FVWM_S_IRWXO 00007
66 #else
67 # define FVWM_S_IRWXO S_IRWXO
68 #endif
69 #ifndef S_IROTH
70 # define FVWM_S_IROTH 00004
71 #else
72 # define FVWM_S_IROTH S_IROTH
73 #endif
74 #ifndef S_IWOTH
75 # define FVWM_S_IWOTH 00002
76 #else
77 # define FVWM_S_IWOTH S_IWOTH
78 #endif
79 #ifndef S_IXOTH
80 # define FVWM_S_IXOTH 00001
81 #else
82 # define FVWM_S_IXOTH S_IXOTH
83 #endif
84 #ifndef S_ISLNK
85 # define FVWM_S_ISLNK(x) 0
86 #else
87 # define FVWM_S_ISLNK(x) S_ISLNK(x)
88 #endif
89 #ifndef S_IFLNK
90 # define FVWM_S_IFLNK 00000
91 #else
92 # define FVWM_S_IFLNK S_IFLNK
93 #endif