#include "Schedule.h"
#include "Timer.h"
-#ifndef mingw32_TARGET_OS
+#if !defined(mingw32_TARGET_OS)
#include "Itimer.h"
#else
#include "win32/Ticker.h"
* At each occurrence of a tick, the OS timer will invoke
* handle_tick().
*/
+static
void
handle_tick(int unused STG_UNUSED)
{
initProfTimer();
#endif
- return startTicker(ms);
+ return startTicker(ms, handle_tick);
}
int