* @brief tests for the scheduler
*/
#include "platform.h"
-#include "gnunet_common.h"
-#include "gnunet_scheduler_lib.h"
-#include "gnunet_time_lib.h"
-#include "gnunet_disk_lib.h"
+#include "gnunet_util_lib.h"
struct GNUNET_DISK_PipeHandle *p;
}
+#ifndef MINGW
static void
taskSig (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
GNUNET_assert (1 == *ok);
*ok = 8;
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &taskLast, cls);
- GNUNET_break (0 == PLIBC_KILL (getpid (), SIGTERM));
+ GNUNET_break (0 == PLIBC_KILL (getpid (), GNUNET_TERM_SIG));
}
GNUNET_SCHEDULER_run (&taskSig, &ok);
return ok;
}
+#endif
static void