summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/machine/ieeefp.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/machine/ieeefp.h')
-rw-r--r--newlib/libc/include/machine/ieeefp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
index 5554c65df..fffa38047 100644
--- a/newlib/libc/include/machine/ieeefp.h
+++ b/newlib/libc/include/machine/ieeefp.h
@@ -342,6 +342,12 @@
#define __IEEE_BIG_ENDIAN
#endif
+#ifdef __RL78__
+#define __IEEE_LITTLE_ENDIAN
+#define __SMALL_BITFIELDS /* 16 Bit INT */
+#define _DOUBLE_IS_32BITS
+#endif
+
#ifdef __RX__
#ifdef __RX_BIG_ENDIAN__