Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/h8300/defines.h')
-rw-r--r--newlib/libc/machine/h8300/defines.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/newlib/libc/machine/h8300/defines.h b/newlib/libc/machine/h8300/defines.h
index 84b2506d5..7ec12c4d0 100644
--- a/newlib/libc/machine/h8300/defines.h
+++ b/newlib/libc/machine/h8300/defines.h
@@ -88,7 +88,7 @@
#endif /* __H8300H__ */
-#ifdef __H8300S__
+#if defined (__H8300S__) || defined (__H8300SX__)
#ifdef __NORMAL_MODE__
@@ -129,4 +129,10 @@
#define A2E e2
#define A3E e3
+
+#ifdef __NORMAL_MODE__
+#define LEN(X) X
+#else
+#define LEN(X) e##X
+#endif
#endif /* __H8300S__ */