Skip to content

Commit

Permalink
Fix gcc compile error in putenv
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Mar 20, 2024
1 parent 176a558 commit 4af7f87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/applications/osgearth_3pv/osgearth_3pv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,13 @@ updateFrustumGeometry(osg::Node* node, const osg::Matrix& modelview, const osg::
}


char debugEnv[] = "OSGEARTH_REX_DEBUG=1";

int
main( int argc, char** argv )
{
osgEarth::initialize();

const char debugEnv[] = "OSGEARTH_REX_DEBUG=1";
putenv(debugEnv);

osg::ArgumentParser arguments( &argc, argv );
Expand Down

0 comments on commit 4af7f87

Please sign in to comment.