Re: Bonobo stream API mis-naming ...



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

_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers



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