From 24d757362d8d890479916980bb9fbe530bad3f70 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:50:05 +0000 Subject: [PATCH] lilypond-0.1.1 --- lily/debug.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lily/debug.cc b/lily/debug.cc index 3d046bd414..654578dcb1 100644 --- a/lily/debug.cc +++ b/lily/debug.cc @@ -9,7 +9,7 @@ Dstream *monitor=0; ostream * nulldev =0; -static void (*rat_printer)(Moment const&); + // ugh struct _Dinit { @@ -41,10 +41,13 @@ float_handler(int) assert(false); } +/// just to make sure print_rat is linked in +static void (*rat_printer)(Moment const&); + void debug_init() { - rat_printer = printm; // make sure this is linked in + rat_printer = print_rat; #ifndef NDEBUG set_new_handler(&mynewhandler); #endif -- 2.39.5