summaryrefslogtreecommitdiff
path: root/extmod/moduplatform.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/moduplatform.c')
-rw-r--r--extmod/moduplatform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/moduplatform.c b/extmod/moduplatform.c
index 8f678d770..820feb312 100644
--- a/extmod/moduplatform.c
+++ b/extmod/moduplatform.c
@@ -44,6 +44,8 @@
#define PLATFORM_ARCH "x86_64"
#elif defined(__i386__) || defined(_M_IX86)
#define PLATFORM_ARCH "x86"
+#elif defined(__xtensa__) || defined(_M_IX86)
+#define PLATFORM_ARCH "xtensa"
#else
#define PLATFORM_ARCH ""
#endif