Hi Jim,

On Thu, Mar 25, 2010 at 12:29 AM, Jim Brooks <[email protected]> wrote:
> Or another way is to use the C preprocessor instead.
> In PThread.c++, instead test __USE_GNU:
>  < #if defined(HAVE_PTHREAD_SETAFFINITY_NP)
>  > #if defined(__USE_GNU)
>            pthread_setaffinity_np( pthread_self(), sizeof(cpumask), &cpumask);
> Assuming pthread_setaffinity_np() is indeed a GNU-only extension
> (your solution might be more universal).

Use of the compilation test is the most general solution, and since
it's already coded and checked in the only push to recode it now would
be if it didn't solve the build issue you are seeing.   Have you
tested svn/trunk yet?

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to