mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
new versions from Jim A
This commit is contained in:
parent
80b0fa0d99
commit
f2e98b4f55
2 changed files with 12 additions and 12 deletions
14
PC/config.c
14
PC/config.c
|
@ -29,6 +29,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
#include "Python.h"
|
||||
|
||||
#ifndef MS_WIN16
|
||||
/* Assume all 32-bit platforms come standard with a WINSOCK library */
|
||||
#define USE_SOCKET
|
||||
#define USE_SELECT
|
||||
#endif
|
||||
|
||||
extern void initarray();
|
||||
extern void initaudioop();
|
||||
extern void initbinascii();
|
||||
|
@ -41,8 +47,9 @@ extern void initnt();
|
|||
extern void initregex();
|
||||
extern void initrgbimg();
|
||||
extern void initrotor();
|
||||
extern void initselect();
|
||||
extern void initsignal();
|
||||
extern void initsocket();
|
||||
extern void init_socket();
|
||||
extern void initsoundex();
|
||||
extern void initstrop();
|
||||
extern void initstruct();
|
||||
|
@ -72,9 +79,12 @@ struct {
|
|||
{"regex", initregex},
|
||||
{"rgbimg", initrgbimg},
|
||||
{"rotor", initrotor},
|
||||
#ifdef USE_SELECT
|
||||
{"select", initselect},
|
||||
#endif
|
||||
{"signal", initsignal},
|
||||
#ifdef USE_SOCKET
|
||||
{"socket", initsocket},
|
||||
{"_socket", init_socket},
|
||||
#endif
|
||||
{"soundex", initsoundex},
|
||||
{"strop", initstrop},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue