Browse Source

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>
pull/10001/head
David Lechner 2 years ago
committed by Damien George
parent
commit
67e919db32
  1. 2
      extmod/moduplatform.h

2
extmod/moduplatform.h

@ -41,7 +41,7 @@
#define MICROPY_PLATFORM_ARCH "x86_64" #define MICROPY_PLATFORM_ARCH "x86_64"
#elif defined(__i386__) || defined(_M_IX86) #elif defined(__i386__) || defined(_M_IX86)
#define MICROPY_PLATFORM_ARCH "x86" #define MICROPY_PLATFORM_ARCH "x86"
#elif defined(__xtensa__) || defined(_M_IX86) #elif defined(__xtensa__)
#define MICROPY_PLATFORM_ARCH "xtensa" #define MICROPY_PLATFORM_ARCH "xtensa"
#else #else
#define MICROPY_PLATFORM_ARCH "" #define MICROPY_PLATFORM_ARCH ""

Loading…
Cancel
Save