Fossil SCM

Fix compilation with Makefile.msc. Thanks to Ryan Noll for reporting this.

jan.nijtmans 2014-02-28 08:10 UTC branch-1.28
Commit eccc22927071c877afd83dec4af924cf19352fcc
1 file changed +1
--- win/include/dirent.h
+++ win/include/dirent.h
@@ -189,10 +189,11 @@
189189
#define DT_DIR S_IFDIR
190190
#define DT_FIFO S_IFIFO
191191
#define DT_SOCK S_IFSOCK
192192
#define DT_CHR S_IFCHR
193193
#define DT_BLK S_IFBLK
194
+#define DT_LNK S_IFLNK
194195
195196
/* Macros for converting between st_mode and d_type */
196197
#define IFTODT(mode) ((mode) & S_IFMT)
197198
#define DTTOIF(type) (type)
198199
199200
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button