Fossil SCM
Fix compilation with Makefile.msc. Thanks to Ryan Noll for reporting this.
Commit
eccc22927071c877afd83dec4af924cf19352fcc
Parent
63462826b3b8e37…
1 file changed
+1
+1
| --- win/include/dirent.h | ||
| +++ win/include/dirent.h | ||
| @@ -189,10 +189,11 @@ | ||
| 189 | 189 | #define DT_DIR S_IFDIR |
| 190 | 190 | #define DT_FIFO S_IFIFO |
| 191 | 191 | #define DT_SOCK S_IFSOCK |
| 192 | 192 | #define DT_CHR S_IFCHR |
| 193 | 193 | #define DT_BLK S_IFBLK |
| 194 | +#define DT_LNK S_IFLNK | |
| 194 | 195 | |
| 195 | 196 | /* Macros for converting between st_mode and d_type */ |
| 196 | 197 | #define IFTODT(mode) ((mode) & S_IFMT) |
| 197 | 198 | #define DTTOIF(type) (type) |
| 198 | 199 | |
| 199 | 200 |
| --- win/include/dirent.h | |
| +++ win/include/dirent.h | |
| @@ -189,10 +189,11 @@ | |
| 189 | #define DT_DIR S_IFDIR |
| 190 | #define DT_FIFO S_IFIFO |
| 191 | #define DT_SOCK S_IFSOCK |
| 192 | #define DT_CHR S_IFCHR |
| 193 | #define DT_BLK S_IFBLK |
| 194 | |
| 195 | /* Macros for converting between st_mode and d_type */ |
| 196 | #define IFTODT(mode) ((mode) & S_IFMT) |
| 197 | #define DTTOIF(type) (type) |
| 198 | |
| 199 |
| --- win/include/dirent.h | |
| +++ win/include/dirent.h | |
| @@ -189,10 +189,11 @@ | |
| 189 | #define DT_DIR S_IFDIR |
| 190 | #define DT_FIFO S_IFIFO |
| 191 | #define DT_SOCK S_IFSOCK |
| 192 | #define DT_CHR S_IFCHR |
| 193 | #define DT_BLK S_IFBLK |
| 194 | #define DT_LNK S_IFLNK |
| 195 | |
| 196 | /* Macros for converting between st_mode and d_type */ |
| 197 | #define IFTODT(mode) ((mode) & S_IFMT) |
| 198 | #define DTTOIF(type) (type) |
| 199 | |
| 200 |