httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Morris <jmor...@intercode.com.au>
Subject Re: todo on win32
Date Tue, 30 Sep 1997 22:10:21 GMT
On Tue, 30 Sep 1997, Rodent of Unusual Size wrote:

> >From the fingers of Marc Slemko flowed the following:
> >
> >Why can't SERVER_BUILT just use __DATE__ and __TIME__ ?
> 
>     No particular reason that I can think of, as long as it's always
>     recompiled at link-time and not made a normal target.
> 
>     Well, actually, there *is* a reason.  I looked into it originally, I
>     now remember, and found that the bundled cpp on DU 3.2 says
>     "__DATE__ and __TIME__ are reserved for future use."  (Well, the man
>     page says it, not cpp - I didn't test it.)  In light of caginess
>     such as that, I opted to go with a known workable method.
> 

These macros are part of the ANSI specification, although they may be 
unsupported by non-ANSI implementations.

>     Is it the `date` portion that's hard to do on 
Windoze, or the
>     dynamic creation?  I imagine that the latter is work-aroundable.

Yes.

- James.
--
James Morris
<jmorris@intercode.com.au>
http://www.intercode.com.au/


Mime
View raw message