Hi Robert,
Ack. Is putenv available?
_putenv
This is my solution
#if (_MSC_VER >= 1400) // Visual Studio 2005
#include <sstream>
int setenv(const char *name, const char *value, int /*rewrite*/)
{
std::stringstream sstr;
sstr<<name<<'='<<value;
return _putenv(sstr.str().c_str());
}
#endif
Brede
On 7/14/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
Hi Brede,
On 7/14/06, Brede Johansen <[EMAIL PROTECTED]> wrote:
> osgconv.cpp reports an error in VC 2005.
> 'setenv' :identifier not found
Ack. Is putenv available?
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/