On Sat, Jul 09, 2005 at 09:30:35AM +0200, Patrice Dumas wrote: > > Unlike some of the other modules, lib/mktime.c is not a wrapper around > > the system mktime. It is a complete reimplementation, so there's no > > need for an "#undef mktime" or a "rpl_mktime" in lib/mktime.c itself. > > So maybe there shouldn't be > AC_DEFINE(mktime, rpl_mktime, > in gl_FUNC_MKTIME in m4/mktime.m4?
But then the mktime.c module would define a "mktime" symbol which would conflict with the one in the system's C library, which is the one we're trying to replace. The gnulib mktime is for use on systems where mktime is just broken or has the wrong functionality, as well as ones where it is just missing. James. _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib