From: fred Date: Sun, 24 Mar 2002 19:50:05 +0000 (+0000) Subject: lilypond-0.1.1 X-Git-Tag: release/1.5.59~4335 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=24d757362d8d890479916980bb9fbe530bad3f70;p=lilypond.git lilypond-0.1.1 --- 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