mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove all mention of Windows IA-64 support (GH-3389)
It was mostly removed long ago.
This commit is contained in:
parent
effc12f8e9
commit
49ce74efe8
13 changed files with 12 additions and 66 deletions
|
@ -6,9 +6,7 @@
|
|||
#include "Python.h"
|
||||
|
||||
extern PyObject* PyInit_array(void);
|
||||
#ifndef MS_WINI64
|
||||
extern PyObject* PyInit_audioop(void);
|
||||
#endif
|
||||
extern PyObject* PyInit_binascii(void);
|
||||
extern PyObject* PyInit_cmath(void);
|
||||
extern PyObject* PyInit_errno(void);
|
||||
|
@ -80,11 +78,7 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
|
||||
{"array", PyInit_array},
|
||||
{"_ast", PyInit__ast},
|
||||
#ifdef MS_WINDOWS
|
||||
#ifndef MS_WINI64
|
||||
{"audioop", PyInit_audioop},
|
||||
#endif
|
||||
#endif
|
||||
{"binascii", PyInit_binascii},
|
||||
{"cmath", PyInit_cmath},
|
||||
{"errno", PyInit_errno},
|
||||
|
|
|
@ -112,8 +112,6 @@ WIN32 is still required for the locale module.
|
|||
defined on Win32 *and* Win64. Win32 only code must therefore be
|
||||
guarded as follows:
|
||||
#if defined(MS_WIN32) && !defined(MS_WIN64)
|
||||
Some modules are disabled on Itanium processors, therefore we
|
||||
have MS_WINI64 set for those targets, otherwise MS_WINX64
|
||||
*/
|
||||
#ifdef _WIN64
|
||||
#define MS_WIN64
|
||||
|
@ -121,17 +119,12 @@ WIN32 is still required for the locale module.
|
|||
|
||||
/* set the COMPILER */
|
||||
#ifdef MS_WIN64
|
||||
#if defined(_M_IA64)
|
||||
#define COMPILER _Py_PASTE_VERSION("64 bit (Itanium)")
|
||||
#define MS_WINI64
|
||||
#define PYD_PLATFORM_TAG "win_ia64"
|
||||
#elif defined(_M_X64) || defined(_M_AMD64)
|
||||
#if defined(_M_X64) || defined(_M_AMD64)
|
||||
#if defined(__INTEL_COMPILER)
|
||||
#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 64 bit (amd64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
|
||||
#else
|
||||
#define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
|
||||
#endif /* __INTEL_COMPILER */
|
||||
#define MS_WINX64
|
||||
#define PYD_PLATFORM_TAG "win_amd64"
|
||||
#else
|
||||
#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue