mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Trent Mick:
The following modules are specifically excluded in the Win64 build: audioop, binascii, imageop, rgbimg. They are advertised as heavily 32-bit dependent. [They should probably be fixed! --GvR]
This commit is contained in:
parent
c66ae966ed
commit
23ef82ffe3
1 changed files with 17 additions and 3 deletions
20
PC/config.c
20
PC/config.c
|
|
@ -37,18 +37,24 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
|
|
||||||
extern void initarray();
|
extern void initarray();
|
||||||
|
#ifndef MS_WIN64
|
||||||
extern void initaudioop();
|
extern void initaudioop();
|
||||||
extern void initbinascii();
|
extern void initbinascii();
|
||||||
|
#endif
|
||||||
extern void initcmath();
|
extern void initcmath();
|
||||||
extern void initerrno();
|
extern void initerrno();
|
||||||
|
#ifndef MS_WIN64
|
||||||
extern void initimageop();
|
extern void initimageop();
|
||||||
|
#endif
|
||||||
extern void initmath();
|
extern void initmath();
|
||||||
extern void initmd5();
|
extern void initmd5();
|
||||||
extern void initnew();
|
extern void initnew();
|
||||||
extern void initnt();
|
extern void initnt();
|
||||||
extern void initoperator();
|
extern void initoperator();
|
||||||
extern void initregex();
|
extern void initregex();
|
||||||
|
#ifndef MS_WIN64
|
||||||
extern void initrgbimg();
|
extern void initrgbimg();
|
||||||
|
#endif
|
||||||
extern void initrotor();
|
extern void initrotor();
|
||||||
extern void initsignal();
|
extern void initsignal();
|
||||||
extern void initsha();
|
extern void initsha();
|
||||||
|
|
@ -74,19 +80,27 @@ struct _inittab _PyImport_Inittab[] = {
|
||||||
|
|
||||||
{"array", initarray},
|
{"array", initarray},
|
||||||
#ifdef MS_WINDOWS
|
#ifdef MS_WINDOWS
|
||||||
|
#ifndef MS_WIN64
|
||||||
{"audioop", initaudioop},
|
{"audioop", initaudioop},
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
#ifndef MS_WIN64
|
||||||
{"binascii", initbinascii},
|
{"binascii", initbinascii},
|
||||||
|
#endif
|
||||||
{"cmath", initcmath},
|
{"cmath", initcmath},
|
||||||
{"errno", initerrno},
|
{"errno", initerrno},
|
||||||
|
#ifndef MS_WIN64
|
||||||
{"imageop", initimageop},
|
{"imageop", initimageop},
|
||||||
|
#endif
|
||||||
{"math", initmath},
|
{"math", initmath},
|
||||||
{"md5", initmd5},
|
{"md5", initmd5},
|
||||||
{"new", initnew},
|
{"new", initnew},
|
||||||
{"nt", initnt}, /* Use the NT os functions, not posix */
|
{"nt", initnt}, /* Use the NT os functions, not posix */
|
||||||
{"operator", initoperator},
|
{"operator", initoperator},
|
||||||
{"regex", initregex},
|
{"regex", initregex},
|
||||||
|
#ifndef MS_WIN64
|
||||||
{"rgbimg", initrgbimg},
|
{"rgbimg", initrgbimg},
|
||||||
|
#endif
|
||||||
{"rotor", initrotor},
|
{"rotor", initrotor},
|
||||||
{"signal", initsignal},
|
{"signal", initsignal},
|
||||||
{"sha", initsha},
|
{"sha", initsha},
|
||||||
|
|
@ -100,11 +114,11 @@ struct _inittab _PyImport_Inittab[] = {
|
||||||
{"cPickle", initcPickle},
|
{"cPickle", initcPickle},
|
||||||
{"pcre", initpcre},
|
{"pcre", initpcre},
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
{"msvcrt", initmsvcrt},
|
{"msvcrt", initmsvcrt},
|
||||||
{"_locale", init_locale},
|
{"_locale", init_locale},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
{"_codecs", init_codecs},
|
{"_codecs", init_codecs},
|
||||||
|
|
||||||
/* -- ADDMODULE MARKER 2 -- */
|
/* -- ADDMODULE MARKER 2 -- */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue