Re: [PATCH] DT_UNKNOWN: do not fully trust existence of DT_UNKNOWN
From: Alex Riesen <hidden> Date: 2016-06-15 22:42:17
On 1/20/06, Junio C Hamano [off-list ref] wrote:
The recent Cygwin defines DT_UNKNOWN although it does not have d_type
in struct dirent. Give an option to tell us not to use d_type on such
platforms. Hopefully this problem will be transient.
You still have to #undef all the DT_ macros if you have a somewhat old Cygwin
(before Christopher removed the macros).