Added extra defined(CPU_SET) to try and get round RH8 compile problems.

This commit is contained in:
Robert Osfield
2006-08-08 14:57:14 +00:00
parent 081b15c84d
commit c0cd67aa8f

View File

@@ -68,7 +68,7 @@ public:
virtual void operator()( const Producer::RenderSurface & rs)
{
#if defined (__linux__)
#if defined (__linux__) && defined(CPU_SET)
if (_enableProccessAffinityHint && _numberOfProcessors>1)
{
cpu_set_t cpumask;