[patch] boehm-gc remove darwin hack
Ranjit Mathew
rmathew@hotmail.com
Wed Dec 31 07:41:00 GMT 2003
Boehm, Hans wrote:
> If I understand this correctly, It makes sense to leave this as is.
> (Except that I just added a comment to the upstream source stating
> that the __private_extern__ hack is required only for pre-3.4 gcc.)
>
> If I remove it from the upstream source, it breaks when built by itself
> with an older gcc. If we remove it just from the gcc tree, we get a
> divergence that's not strictly necessary. The package already contains lots
> of code that's not strictly useful in the gcc tree and is never built in
> that context.
Hans, can't we use the GCC pre-defined macros __GNUC__
and __GNUC_MINOR__ to hack around this problem?
http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
Or am I missing something here?
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/
More information about the Java-patches
mailing list