[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lib/xtime.h is included twice
From: |
Derek Price |
Subject: |
Re: lib/xtime.h is included twice |
Date: |
Thu, 03 Mar 2005 11:06:45 -0500 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim.Hyslop wrote:
| georg.schwarz@freenet.de wrote:
|
|> Dear cvs developers,
|>
|> for cvs 1.11.19 and earlier, lib/xtime.h is included twice, which
|> breaks compiling on IRIX 5.3. The following patch prevents this:
|>
|> --- lib/xtime.h.orig 2005-03-01 15:53:11.000000000 +0100 +++
|> lib/xtime.h 2005-03-01 15:54:20.000000000 +0100 @@ -12,6 +12,9 @@
|> * functions */
|>
|> +#ifndef _XTIME_H_ +#define _XTIME_H_
|
| ISO C Standard reserves names beginning with underscore and an
| uppercase character, or beginning with two underscores. I recommend
| changing this to something like:
|
| #ifndef XTIME_HEADER_INCLUDEd #define XTIME_HEADER_INCLUDEd
|
| (note: the lower-case d at the end is deliberate - it's my
| technique to reduce the chances of a name collision.)
I'm ok with this if you'd like to apply it, Jim.
Cheers,
Derek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCJzYVLD1OTBfyMaQRAqCdAJ498T0xvRx7hOrhsciCh1FrIAoKJQCgo58V
p6F1YLKwH9OQT2ZVVMUI/hY=
=4/Zd
-----END PGP SIGNATURE-----
- lib/xtime.h is included twice, Georg Schwarz, 2005/03/03
- RE: lib/xtime.h is included twice, Jim.Hyslop, 2005/03/03
- RE: lib/xtime.h is included twice, Jim.Hyslop, 2005/03/03
- RE: lib/xtime.h is included twice, Jim.Hyslop, 2005/03/03
- RE: lib/xtime.h is included twice, Jim.Hyslop, 2005/03/04
- RE: lib/xtime.h is included twice, Jim.Hyslop, 2005/03/04