diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/sh/rtems/score/sh.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sh/rtems/score/sh.h b/cpukit/score/cpu/sh/rtems/score/sh.h index 98ddcf6997..b19855abe1 100644 --- a/cpukit/score/cpu/sh/rtems/score/sh.h +++ b/cpukit/score/cpu/sh/rtems/score/sh.h @@ -46,7 +46,8 @@ extern "C" { * predefines. */ -#if defined(__SH3E__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__) +#if defined(__SH2E__) || defined(__SH3E__) || \ + defined(__SH4__) || defined(__SH4_SINGLE_ONLY__) /* * Define this if you want to use XD-registers. @@ -63,7 +64,7 @@ extern "C" { #define SH_HAS_FPU 0 #endif -#elif defined(__sh1__) || defined(__sh2__) || defined(__sh3__) +#elif defined(__sh1__) || defined(__sh2__) || defined(__sh3__) #define SH_HAS_FPU 0 #else #warning Cannot detect FPU support, assuming no FPU |