On 12/30/11 05:49, Eric Blake wrote: > the gnulib replacement for stat on some platforms has to be a function-like > macro (no thanks to 'struct stat')
Why does the gnulib replacement do that? If gnulib instead did "#define stat rpl_stat", that would rename 'struct stat' to 'struct rpl_stat', but the resulting code would work fine, no? And we wouldn't have the problem that sparked this thread.