Fixes to Windows build in liu of the move to using just std::streams.

This commit is contained in:
Robert Osfield
2001-12-14 23:18:28 +00:00
parent b1f478e5d2
commit 478274ae7d
67 changed files with 533 additions and 528 deletions

View File

@@ -2,7 +2,7 @@
#include <string>
osg::NotifySeverity osg::g_NotifyLevel = osg::NOTICE;
ofstream *osg::g_NotifyNulStream;
std::ofstream *osg::g_NotifyNulStream;
bool osg::g_NotifyInit = false;
void osg::setNotifyLevel(osg::NotifySeverity severity)
@@ -27,9 +27,9 @@ bool osg::initNotifyLevel()
// set up global notify null stream for inline notify
#ifdef WIN32
g_NotifyNulStream = new ofstream ("nul");
g_NotifyNulStream = new std::ofstream ("nul");
#else
g_NotifyNulStream = new ofstream ("/dev/null");
g_NotifyNulStream = new std::ofstream ("/dev/null");
#endif
// g_NotifyLevel