vt100: include pgmspace.h as we use PROGMEM macro
[aversive.git] / modules / base / scheduler / scheduler.c
index 32e0a79..268e1a9 100644 (file)
@@ -61,7 +61,12 @@ void scheduler_init(void)
 
 
 #ifdef CONFIG_MODULE_SCHEDULER_TIMER0
-SIGNAL(SIG_OVERFLOW0)
+#ifndef TIMER0_OVF_vect
+#if defined(SIG_OVERFLOW0)
+#define TIMER0_OVF_vect SIG_OVERFLOW0
+#endif
+#endif
+SIGNAL(TIMER0_OVF_vect)
 {
        scheduler_interrupt();
 }