On linux ostream and endl need prefixing into the std namespace.

This commit is contained in:
Peter Howkins
2012-03-13 17:40:21 +00:00
parent adf14ccd77
commit 5d76061f5d
3 changed files with 25 additions and 0 deletions

View File

@@ -65,7 +65,11 @@ class TTFile : public CString {
};
#else
void TT_Exception (char *);
#if defined(linux)
friend std::ostream & operator<< (std::ostream &, TTFile &);
#else
friend ostream & operator<< (ostream &, TTFile &);
#endif
#endif
int ttFileOpFailed () { return status != TT_OK; }