py: Add support for emitting native x86 machine code.
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 633a4a5..adbcb0e 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -101,6 +101,11 @@
 #define MICROPY_EMIT_X64 (0)
 #endif
 
+// Whether to emit x86 native code
+#ifndef MICROPY_EMIT_X86
+#define MICROPY_EMIT_X86 (0)
+#endif
+
 // Whether to emit thumb native code
 #ifndef MICROPY_EMIT_THUMB
 #define MICROPY_EMIT_THUMB (0)
@@ -117,7 +122,7 @@
 #endif
 
 // Convenience definition for whether any native emitter is enabled
-#define MICROPY_EMIT_NATIVE (MICROPY_EMIT_X64 || MICROPY_EMIT_THUMB || MICROPY_EMIT_ARM)
+#define MICROPY_EMIT_NATIVE (MICROPY_EMIT_X64 || MICROPY_EMIT_X86 || MICROPY_EMIT_THUMB || MICROPY_EMIT_ARM)
 
 /*****************************************************************************/
 /* Compiler configuration                                                    */