Re: Bonobo stream API mis-naming ...
- From: Michael Meeks <michael ximian com>
- To: Ian McKellar <ian mckellar org>
- Cc: gnome-hackers gnome org, Morten Welinder <terra diku dk>, Nat Friedman <nat ximian com>, Havoc Pennington <hp redhat com>
- Subject: Re: Bonobo stream API mis-naming ...
- Date: 27 Aug 2002 10:22:57 +0100
On Mon, 2002-08-26 at 23:10, Ian McKellar wrote:
> How does this sound:
Like the most appalling hack ;-)
> #if defined(truncate) && defined(SOLARIS)
> #undef truncate
> #define truncate(X,Y) truncate64((X),(Y))
> #endif
>
> (where SOLARIS is some useful preprocessor symbol)
>
> That shouldn't pollute the struct namespace but will make the right
> function be called.
Don't go there,
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]