Mac OS X -module (was Re: Confusion about use of G2)

Peter O'Gorman peter at pogma.com
Wed Oct 5 00:20:12 EDT 2005


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

David Hampton wrote:
| On Wed, 2005-10-05 at 10:03 +0900, Peter O'Gorman wrote:
|
|>It is exactly the same, double fmin( double, double ); but I didn't feel
|>like makeing a configure time check....
|
|
| I was thinking more along the lines of an "#ifndef DARWIN" around the
| goffice definition of fmin().  Is there some #define that's only set
| during the mac build?

#if defined(__APPLE__) && defined(__MACH__)

but I dislike it :)

Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQ0NUfLiDAg3OZTLPAQLBxAQAl3mVDngH7bzOgsg6uWo6IqWmc+MSU5PM
CIgABMabtBCeftHzObVtqgjrMOFEB4HA3Ol7LHVkMABrFz0aKlpcXsgu6wJbNouw
pxaC1Vb6j3rVmFcMIsr4MbzdRrJOkU3SrUv0/CwBf9caE0igxKObBVMH/UiOhDRL
pQCe8SPTEn4=
=8wno
-----END PGP SIGNATURE-----


More information about the gnucash-devel mailing list