mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-36071 Add support for Windows ARM32 in ctypes/libffi (GH-12059)
This commit is contained in:
parent
264a0b40b0
commit
11efd79076
7 changed files with 31 additions and 8 deletions
|
@ -427,7 +427,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* get and set x87 control word for VisualStudio/x86 */
|
||||
#if defined(_MSC_VER) && defined(_M_IX86) /* x87 only supported in x86 */
|
||||
#if defined(_MSC_VER) && !defined(_WIN64) && !defined(_M_ARM) /* x87 not supported in 64-bit or ARM */
|
||||
#define HAVE_PY_SET_53BIT_PRECISION 1
|
||||
#define _Py_SET_53BIT_PRECISION_HEADER \
|
||||
unsigned int old_387controlword, new_387controlword, out_387controlword
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue