diff options
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/machine/ieeefp.h | 2 | ||||
-rw-r--r-- | newlib/libc/include/machine/setjmp.h | 2 | ||||
-rw-r--r-- | newlib/libc/include/sys/config.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h index d342d7e2f..f09a48127 100644 --- a/newlib/libc/include/machine/ieeefp.h +++ b/newlib/libc/include/machine/ieeefp.h @@ -92,7 +92,7 @@ #endif #endif -#if defined (__H8300__) || defined (__H8300H__) || defined (__H8300S__) || defined (__H8500__) +#if defined (__H8300__) || defined (__H8300H__) || defined (__H8300S__) || defined (__H8500__) || defined (__H8300SX__) #define __IEEE_BIG_ENDIAN #define _FLOAT_ARG float #define _DOUBLE_IS_32BITS diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h index 59d08bfbe..3fa67b508 100644 --- a/newlib/libc/include/machine/setjmp.h +++ b/newlib/libc/include/machine/setjmp.h @@ -95,7 +95,7 @@ typedef int jmp_buf[_JBLEN]; #define _JBTYPE long #endif -#ifdef __H8300S__ +#if defined (__H8300S__) || defined (__H8300SX__) /* same as H8/300 but registers are twice as big */ #define _JBLEN 5 #define _JBTYPE long diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index 0859392bb..1dd045498 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -20,7 +20,7 @@ #define UINT_MAX 65535 #endif -#if defined (__H8300__) || defined (__H8300H__) || defined(__H8300S__) +#if defined (__H8300__) || defined (__H8300H__) || defined(__H8300S__) || defined (__H8300SX__) #define __SMALL_BITFIELDS #define H8300 1 #undef INT_MAX |