Changed the Windows gauard around so that it only works for VisualStudio
and not Cygwin/Mingw.
This commit is contained in:
parent
f4f4423fe7
commit
90112df269
@ -28,7 +28,7 @@ bool osg::initNotifyLevel()
|
|||||||
g_NotifyInit = true;
|
g_NotifyInit = true;
|
||||||
|
|
||||||
// set up global notify null stream for inline notify
|
// set up global notify null stream for inline notify
|
||||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
#if defined(WIN32) && !(defined(__CYGWIN__) || defined(__MINGW32__))
|
||||||
g_NotifyNulStream = std::auto_ptr<ofstream>(osgNew std::ofstream ("nul"));
|
g_NotifyNulStream = std::auto_ptr<ofstream>(osgNew std::ofstream ("nul"));
|
||||||
#else
|
#else
|
||||||
g_NotifyNulStream.reset(osgNew std::ofstream ("/dev/null"));
|
g_NotifyNulStream.reset(osgNew std::ofstream ("/dev/null"));
|
||||||
|
Loading…
Reference in New Issue
Block a user