From c0cd67aa8f5f653d5f51604f2927c54df97d556e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 8 Aug 2006 14:57:14 +0000 Subject: [PATCH] Added extra defined(CPU_SET) to try and get round RH8 compile problems. --- src/osgProducer/OsgCameraGroup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgProducer/OsgCameraGroup.cpp b/src/osgProducer/OsgCameraGroup.cpp index 3cf495aff..56ce4b04e 100644 --- a/src/osgProducer/OsgCameraGroup.cpp +++ b/src/osgProducer/OsgCameraGroup.cpp @@ -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;