On Thursday 13 November 2008 02:45:17 Stephen Wille Padnos wrote: > Michael Buesch wrote: > > >See kernel.h in current kernels. > >It implements clamp() as a typesafe macro. > >That's what the #ifdef is all about. It avoids the nameclash and uses > >the typesafe macro, if available. > > > > > Yep, I saw the kernel macro. I'm wondering if there's a downside to > just copying the kernel macro rather than using an inline function.
Oh, well. I wouldn't care too much. The "problem" will solve itself, once emc2 will run by default on the next version of rtai (so newer kernels). ;) -- Greetings Michael. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers