diff options
Diffstat (limited to 'debug.hh')
-rw-r--r-- | debug.hh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -9,10 +9,14 @@ #define WARN warnout << "warning: "<<__FUNCTION__ << "(): " extern ostream &warnout ; extern ostream *mlog; +extern ostream *nulldev; extern Dstream monitor; // monitor +#ifdef NPRINT +#define mtor *nulldev +#else #define mtor monitor.identify_as(__PRETTY_FUNCTION__) - +#endif void error(String s); void warning(String s); |