]> git.donarmstrong.com Git - lilypond.git/blobdiff - debug.hh
release: 0.0.5
[lilypond.git] / debug.hh
index ca805df011aca50d80279d6d138f9a0fec355989..200585608b7868697c75b25cb31fb2d5a8f5cd66 100644 (file)
--- a/debug.hh
+++ b/debug.hh
@@ -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);