Keith Marshall - 2014-08-30

Maybe. Thanks for pointing it out. However, you really shouldn't rely on dirent.d_type or _wdirent.d_type to give you meaningful info anyway -- especially in the absence of _DIRENT_HAVE_D_TYPE; POSIX doesn't require it, nor even refer to it in any way.