]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.5
authorfred <fred>
Wed, 23 Oct 1996 23:05:35 +0000 (23:05 +0000)
committerfred <fred>
Wed, 23 Oct 1996 23:05:35 +0000 (23:05 +0000)
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);