Commit d6181fe1 authored by simonpj's avatar simonpj

[project @ 2001-11-26 12:58:17 by simonpj]

In the Win32 build, don't call initProfTimer unless PROFILING
is on.  This mirrors the Unix deal.   Indeed initProfTimer
isn't defined if PROFILING is on.

I don't know how this works for anyone else on Win32!
Sigbjorn: have I done this right, or am I misunderstanding?
parent 5a1ac8dc
/* -----------------------------------------------------------------------------
* $Id: Itimer.c,v 1.26 2001/11/22 14:25:12 simonmar Exp $
* $Id: Itimer.c,v 1.27 2001/11/26 12:58:17 simonpj Exp $
*
* (c) The GHC Team, 1995-1999
*
......@@ -142,7 +142,9 @@ initialize_virtual_timer(nat ms)
}
}
#ifdef PROFILING
initProfTimer();
#endif
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment