From: Junio C Hamano Date: Sat, 21 Jan 2006 08:09:10 GMT Subject: Re: [PATCH] DT_UNKNOWN: do not fully trust existence of DT_UNKNOWN Message-ID: <7vpsmmt32x.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060120215314.GA4203@steel.home> Alex Riesen writes: >> +#undef DT_UNKNOWN >> +#undef DT_DIR >> +#undef DT_REG >> +#undef DT_LNK > > yes, of course That is technically correct but I suspect it would not matter in practice. The only thing you are avoiding is four compiler warnings when compiling for Cygwin of this week (I heard this is already fixed in Cygwin CVS). On older Cygwin you simply would not use NO_D_TYPE_IN_DIRENT, since d_type worked before. No?