Dstream *monitor=0;
ostream * nulldev =0;
-static void (*rat_printer)(Moment const&);
+
// ugh
struct _Dinit {
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