Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5581f9

Browse files
committed
Identify the ARM compiler.
1 parent 2aee6a6 commit e5581f9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

PC/pyconfig.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,10 @@ typedef _W64 int ssize_t;
193193
#define HAVE_SSIZE_T 1
194194

195195
#if defined(MS_WIN32) && !defined(MS_WIN64)
196-
#ifdef _M_IX86
196+
#if defined(_M_IX86)
197197
#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
198+
#elif defined(_M_ARM)
199+
#define COMPILER _Py_PASTE_VERSION("32 bit (ARM)")
198200
#else
199201
#define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
200202
#endif

0 commit comments

Comments
 (0)