summaryrefslogtreecommitdiff
path: root/extmod/moduplatform.h
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2022-11-17 15:19:07 -0600
committerDamien George <damien@micropython.org>2022-11-18 15:13:00 +1100
commit67e919db329bb4db079514bb0c8cf2922affe6a3 (patch)
treeaef5c895bc38aa8609bfa27e2f5827a3eb22e577 /extmod/moduplatform.h
parent28a5107d813d444ee32b1d81c3a347e0a807e35f (diff)
extmod/moduplatform: Remove _M_IX86 test for xtensa.
Since _M_IX86 is already being checked in the x86 case, it will never be true in the xtensa case and can be removed. Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'extmod/moduplatform.h')
-rw-r--r--extmod/moduplatform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/moduplatform.h b/extmod/moduplatform.h
index 2b9ad3ae4..d911d33dd 100644
--- a/extmod/moduplatform.h
+++ b/extmod/moduplatform.h
@@ -41,7 +41,7 @@
#define MICROPY_PLATFORM_ARCH "x86_64"
#elif defined(__i386__) || defined(_M_IX86)
#define MICROPY_PLATFORM_ARCH "x86"
-#elif defined(__xtensa__) || defined(_M_IX86)
+#elif defined(__xtensa__)
#define MICROPY_PLATFORM_ARCH "xtensa"
#else
#define MICROPY_PLATFORM_ARCH ""