diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-09-04 00:05:08 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-09-04 00:05:08 +0000 |
commit | 98009bbda2550b7e6aa28fd53f3daaa14d6cd577 (patch) | |
tree | 718961c55adcd33fde495113e2ac386edbd21d59 /lib/win32/emu.h | |
parent | 3f9f0196e6d437f225cfb14bce8b9b424def09ab (diff) |
(refs #3)
Emulate readdir's d_type field
Diffstat (limited to 'lib/win32/emu.h')
-rw-r--r-- | lib/win32/emu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h index 2c4e1550..69daaa67 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -329,9 +329,14 @@ inline int strcasecmp(const char *s1, const char *s2) } #endif +#ifdef _DIRENT_H_ +#error You must not include MinGW's dirent.h! +#endif + struct dirent { char *d_name; + unsigned long d_type; }; struct DIR |