[Python-checkins] cpython: Identify the ARM compiler.

martin.v.loewis python-checkins at python.org
Tue Jan 29 18:18:22 CET 2013


http://hg.python.org/cpython/rev/82be592d764d
changeset: 81827:82be592d764d
user: Martin v. Löwis <martin at v.loewis.de>
date: Tue Jan 29 18:17:05 2013 +0100
summary:
 Identify the ARM compiler.
files:
 PC/pyconfig.h | 4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -193,8 +193,10 @@
 #define HAVE_SSIZE_T 1
 
 #if defined(MS_WIN32) && !defined(MS_WIN64)
-#ifdef _M_IX86
+#if defined(_M_IX86)
 #define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
+#elif defined(_M_ARM)
+#define COMPILER _Py_PASTE_VERSION("32 bit (ARM)")
 #else
 #define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
 #endif
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /