From Mike Wittman and Robert Osfield, added support for SO_VERSION number in

runtime version info.  Added checks for OpenThreads version.
This commit is contained in:
Robert Osfield
2007-09-11 10:10:43 +00:00
parent 269a3956e3
commit bea07b5f72
3 changed files with 50 additions and 5 deletions

View File

@@ -37,6 +37,18 @@ const char* osgGetVersion()
return osg_version;
}
const char* osgGetSOVersion()
{
static char osg_soversion[32];
static int osg_soversion_init = 1;
if (osg_soversion_init)
{
sprintf(osg_soversion,"%d",OPENSCENEGRAPH_SOVERSION);
osg_soversion_init = 0;
}
return osg_soversion;
}
const char* osgGetLibraryName()
{