diff options
Diffstat (limited to 'c/src/librtems++')
-rw-r--r-- | c/src/librtems++/src/rtemsInterrupt.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/librtems++/src/rtemsInterrupt.cc b/c/src/librtems++/src/rtemsInterrupt.cc index 5432cfcd4a..436e362a2f 100644 --- a/c/src/librtems++/src/rtemsInterrupt.cc +++ b/c/src/librtems++/src/rtemsInterrupt.cc @@ -38,6 +38,9 @@ static bool initialised = false; #include <cstdlib> +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) + +typedef void * ISR_Handler void *; rtemsInterrupt::rtemsInterrupt() : vector(0), caught(false), @@ -123,3 +126,4 @@ void rtemsInterrupt::redirector(rtems_vector_number vector) if (interrupt_table[vector]) interrupt_table[vector]->handler(); } +#endif |