bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no rpl_mktime in mktime.c


From: Paul Eggert
Subject: Re: no rpl_mktime in mktime.c
Date: Sat, 09 Jul 2005 00:43:07 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Patrice Dumas <address@hidden> writes:

> So maybe there shouldn't be
>  AC_DEFINE(mktime, rpl_mktime,
> in gl_FUNC_MKTIME in m4/mktime.m4?

Yes, because otherwise mktime.c would attempt to define an external
function "mktime".  The C Standard doesn't allow that, and some hosts
don't permit it.  The standard doesn't let you define external
functions with the same name as a standard function.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]