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.
- Steve ------------------------------------------------------------------------- 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