bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Proposed patches to the gnubg sources


From: Øystein Johansen
Subject: Re: [Bug-gnubg] Proposed patches to the gnubg sources
Date: Fri, 04 Feb 2005 07:59:07 +0100
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Segrave wrote:
|> * gnubgmodule.h - Some more #ifdefs for clashes with defines in
|> Python.h, as they happen with Python 2.4 on a Windows system.
|> Probably a more general solution is needed, as any platform should
|> have it's individual #ifdef clashes.
|>
|> Not sure the existing code was correct as the _HAVE* defines don't
|> seem to be used.
|
| No the _HAVE bits can go. All that's needed is to #undef all the
| conflicting names between #including config.h and #including Python.h
|  (or vice-versa)

My solution is to change some lines in pyconfig.h

C:\Python23\include>diff pyconfig.h pyconfig.h~
31d30
< #ifndef HAVE_LIMITS_H
33d31
< #endif

Done!

- -Øystein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCAx076kDTFPhwyqYRAjq0AJ4g+isJYBrD5H7EOnI+NJp84WptVACfdx86
fU+QZ9/S371KVvtJZqXha8U=
=jYsR
-----END PGP SIGNATURE-----





reply via email to

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