Hi Terry, On 4 June 2015 at 20:37, Terry Welsh <[email protected]> wrote: > I'm no cmake expert, but I think you can do something like that with > check_symbol_exists or check_type_size.
A first step might be to add a CMake var in, then next automatically set it's value. > Is there any reason the > typedef needs the same name? Can you just create a unique OSGint64 and > OSGuint64 instead? That might be the simplest solution if opengl > headers are too inconsistent. In the past I tried to just keep the extension functions compatible with their OpenGL counterparts. Why OSGuint64 would be compile compatible it's be inconsistent what users would expect when comparing OSG code with OpenGL docs. Another workaround might be to simply put the typedef's into osg namespace. This way you could always provide the definition. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

