Paul Eggert <[EMAIL PROTECTED]> wrote: > Jim Meyering <[EMAIL PROTECTED]> writes: > >> Assuming someone cares about the affected systems, >> I'd be happy to let them do it. > > But in the meantime, everyone else who wanted to run on mingw would be > left high and dry, as coreutils wouldn't build. > > Is there some middle ground here, where we can generate a warning for > people building on old-fashioned systems without sub-second clocks, > without refusing to build coreutils entirely? Admittedly warnings are > often ignored, but I hope you get the idea. > > Perhaps something like the following? > > #ifdef OK_TO_USE_1S_CLOCK > ts->tv_sec = time (NULL); > ts->tv_nsec = 0; > #else > #error "Only 1-second nominal clock resolution found. Is that intended? > If so, recompile with -DOK_TO_USE_1S_CLOCK" > #endif
I like it. Thanks! _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib