From 90112df2692c910195a465162ad4c6bb43c8f1ab Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 23 Apr 2002 11:03:09 +0000 Subject: [PATCH] Changed the Windows gauard around so that it only works for VisualStudio and not Cygwin/Mingw. --- src/osg/Notify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Notify.cpp b/src/osg/Notify.cpp index 1d45461fd..75127fc27 100644 --- a/src/osg/Notify.cpp +++ b/src/osg/Notify.cpp @@ -28,7 +28,7 @@ bool osg::initNotifyLevel() g_NotifyInit = true; // 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(osgNew std::ofstream ("nul")); #else g_NotifyNulStream.reset(osgNew std::ofstream ("/dev/null"));