Fixes for compilation under IRIX, submitted by Randal Hopper, with mods
from Robert.
This commit is contained in:
@@ -7,7 +7,12 @@
|
||||
|
||||
#include <osg/Referenced>
|
||||
|
||||
#ifdef __sgi
|
||||
#include <time.h>
|
||||
#else
|
||||
#include <ctime>
|
||||
using std::tm;
|
||||
#endif
|
||||
|
||||
namespace osg
|
||||
{
|
||||
|
||||
@@ -132,7 +132,7 @@ namespace osg{
|
||||
}
|
||||
else
|
||||
{
|
||||
return *_sgiClockAddress;
|
||||
return *_clockAddress;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user