Re: [PATCH] DT_UNKNOWN: do not fully trust existence of DT_UNKNOWN
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jan 20, 2006, 15:01 UTC
- Message-ID
- <81b0412b0601200701n76f1d912y4671c6800735cd0d@mail.gmail.com>
- In-Reply-To
- <7voe277lbe.fsf@assigned-by-dhcp.cox.net>
On 1/20/06, Junio C Hamano <junkio@cox.net> 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).