From 167fd854e1309b51f4526cb3ea66d1c508db743f Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Tue, 13 Mar 2012 17:45:34 +0000 Subject: [PATCH] namespace ostream into std::ostream for modern C++ --- cde/programs/dtsearchpath/libCliSrv/cstring.C | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cde/programs/dtsearchpath/libCliSrv/cstring.C b/cde/programs/dtsearchpath/libCliSrv/cstring.C index 0bb56884..be3067fc 100644 --- a/cde/programs/dtsearchpath/libCliSrv/cstring.C +++ b/cde/programs/dtsearchpath/libCliSrv/cstring.C @@ -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)"; -- 2.25.1