namespace ostream into std::ostream for modern C++
authorPeter Howkins <flibble@users.sourceforge.net>
Tue, 13 Mar 2012 17:45:34 +0000 (17:45 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Tue, 13 Mar 2012 17:45:34 +0000 (17:45 +0000)
cde/programs/dtsearchpath/libCliSrv/cstring.C

index 0bb568843a0d738482e2e820b02702e2c5b25626..be3067fccf02ddb26374e2c7ca62e87f069aa801 100644 (file)
@@ -564,11 +564,19 @@ char * q  = 0;
     }
 }
 
+#if defined(linux)
+std::ostream & operator<<
+       (
+       std::ostream &       os,
+       const CString & s
+       )
+#else
 ostream & operator<<
        (
        ostream &       os,
        const CString & s
        )
+#endif
 {
     if (s.isNull())
        return os << "(null)";