From 3bcc0d8913b40c1857920935dae4a6b1cec69be9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 15 Oct 2001 17:58:07 +0000 Subject: 2001-10-15 Ralf Corsepius * cpu.c: Fix #ifdefs, add missing #endif. --- cpukit/score/cpu/sh/cpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/score/cpu/sh/cpu.c') diff --git a/cpukit/score/cpu/sh/cpu.c b/cpukit/score/cpu/sh/cpu.c index 31ba6cd0d9..b83292e304 100644 --- a/cpukit/score/cpu/sh/cpu.c +++ b/cpukit/score/cpu/sh/cpu.c @@ -157,7 +157,7 @@ void _CPU_ISR_install_raw_handler( * */ -#if defined(sh1) || defined(sh2) +#if defined(__sh1__) || defined(__sh2__) void _CPU_ISR_install_vector( unsigned32 vector, proc_ptr new_handler, @@ -190,6 +190,7 @@ void _CPU_ISR_install_vector( } #endif } +#endif /* _CPU_ISR_install_vector */ /*PAGE * -- cgit v1.2.3