Changeset 809 in kBuild for trunk/src/gmake/kmkbuiltin/ftsfake.h
- Timestamp:
- Jan 29, 2007 5:54:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/kmkbuiltin/ftsfake.h
r621 r809 35 35 #define _FTS_H_ 36 36 37 #ifdef _MSC_VER 38 # include "kmkbuiltin/mscfakes.h" 39 #endif 40 37 41 typedef struct { 38 42 struct _ftsent *fts_cur; /* current node */ … … 60 64 #ifndef _MSC_VER 61 65 #define FTS_WHITEOUT 0x080 /* return whiteout information */ 62 #endif 66 #endif 63 67 #define FTS_OPTIONMASK 0x0ff /* valid user option mask */ 64 68 … … 79 83 #ifndef _MSC_VER 80 84 int fts_symfd; /* fd for symlink */ 81 #endif 85 #endif 82 86 u_short fts_pathlen; /* strlen(fts_path) */ 83 87 u_short fts_namelen; /* strlen(fts_name) */ … … 92 96 #else 93 97 int fts_nlink; /* link count */ 94 #endif 98 #endif 95 99 #endif 96 100 … … 121 125 #ifndef _MSC_VER 122 126 #define FTS_ISW 0x04 /* this is a whiteout object */ 123 #endif 127 #endif 124 128 u_short fts_flags; /* private flags for FTSENT structure */ 125 129 … … 138 142 } FTSENT; 139 143 144 #ifndef __sun__ 140 145 #ifndef _MSC_VER 141 146 #include <sys/cdefs.h> 142 147 __BEGIN_DECLS 143 148 #else 144 #define __RENAME(a) 145 #endif 149 #define __RENAME(a) 150 #endif 151 #endif 146 152 147 #if def __LIBC12_SOURCE__153 #if defined(__LIBC12_SOURCE__) || defined(__sun__) 148 154 FTSENT *fts_children(FTS *, int); 149 155 int fts_close(FTS *); … … 162 168 #endif 163 169 170 #ifndef __sun__ 164 171 #ifndef _MSC_VER 165 172 __END_DECLS 166 173 #endif 174 #endif 167 175 168 176 #endif /* !_FTS_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.