MacOS portability improvements.

This commit is contained in:
curt
1999-04-27 15:54:39 +00:00
parent 489b562232
commit f8dde93e05
7 changed files with 51 additions and 25 deletions

View File

@@ -47,6 +47,10 @@ FG_USING_STD(cerr);
FG_USING_STD(endl);
#endif
#ifdef __MWERKS__
FG_USING_STD(iostream);
#endif
//
// TODO:
//
@@ -204,6 +208,8 @@ fglog()
#ifdef FG_NDEBUG
# define FG_LOG(C,P,M)
#elif defined( __MWERKS__ )
# define FG_LOG(C,P,M) ::fglog() << ::loglevel(C,P) << M << std::endl
#else
# define FG_LOG(C,P,M) fglog() << loglevel(C,P) << M << endl
#endif