On Mon, Jun 25, 2012 at 10:02:27PM +0200, Groepaz wrote: > if the macro is defined is 0, why the hell would it matter if dirent even > exist in this case? you could write > > if (_DE_ISREG(whatever is here doesnt matter at all)) { > > and it WILL compile fine, really =) Ok, you got me. You're right of course. But I'm not sure if this should be the officially recommended programming style. So while I see now that it works, I would still somehow prefer to have a mandatory d_type field. I think I will sleep better at night :-) Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Jun 26 08:31:02 2012
This archive was generated by hypermail 2.1.8 : 2012-06-26 08:31:05 CEST