summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-05-08 14:15:19 (GMT)
committerGuido van Rossum <guido@python.org>2000-05-08 14:15:19 (GMT)
commit23ef82ffe330c16cac7406c202ce55cc0d828f0a (patch)
tree9d5ed251d3fb666272e1229d37dd395ec9108faa /PC/config.c
parentc66ae966ed7d52655e3680102b4abf4d08732c51 (diff)
downloadcpython-23ef82ffe330c16cac7406c202ce55cc0d828f0a.zip
cpython-23ef82ffe330c16cac7406c202ce55cc0d828f0a.tar.gz
cpython-23ef82ffe330c16cac7406c202ce55cc0d828f0a.tar.bz2
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]
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c20
1 files changed, 17 insertions, 3 deletions
diff --git a/PC/config.c b/PC/config.c
index 0295c1f..f295f85 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -37,18 +37,24 @@ PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
extern void initarray();
+#ifndef MS_WIN64
extern void initaudioop();
extern void initbinascii();
+#endif
extern void initcmath();
extern void initerrno();
+#ifndef MS_WIN64
extern void initimageop();
+#endif
extern void initmath();
extern void initmd5();
extern void initnew();
extern void initnt();
extern void initoperator();
extern void initregex();
+#ifndef MS_WIN64
extern void initrgbimg();
+#endif
extern void initrotor();
extern void initsignal();
extern void initsha();
@@ -74,19 +80,27 @@ struct _inittab _PyImport_Inittab[] = {
{"array", initarray},
#ifdef MS_WINDOWS
+#ifndef MS_WIN64
{"audioop", initaudioop},
#endif
+#endif
+#ifndef MS_WIN64
{"binascii", initbinascii},
+#endif
{"cmath", initcmath},
{"errno", initerrno},
+#ifndef MS_WIN64
{"imageop", initimageop},
+#endif
{"math", initmath},
{"md5", initmd5},
{"new", initnew},
{"nt", initnt}, /* Use the NT os functions, not posix */
{"operator", initoperator},
{"regex", initregex},
+#ifndef MS_WIN64
{"rgbimg", initrgbimg},
+#endif
{"rotor", initrotor},
{"signal", initsignal},
{"sha", initsha},
@@ -100,11 +114,11 @@ struct _inittab _PyImport_Inittab[] = {
{"cPickle", initcPickle},
{"pcre", initpcre},
#ifdef WIN32
- {"msvcrt", initmsvcrt},
- {"_locale", init_locale},
+ {"msvcrt", initmsvcrt},
+ {"_locale", init_locale},
#endif
- {"_codecs", init_codecs},
+ {"_codecs", init_codecs},
/* -- ADDMODULE MARKER 2 -- */