Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f2e98b4f
Commit
f2e98b4f
authored
Jun 26, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new versions from Jim A
parent
80b0fa0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
PC/config.c
PC/config.c
+12
-2
PC/config.h
PC/config.h
+0
-10
No files found.
PC/config.c
View file @
f2e98b4f
...
...
@@ -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"
,
init
socket
},
{
"
_socket"
,
init_
socket
},
#endif
{
"soundex"
,
initsoundex
},
{
"strop"
,
initstrop
},
...
...
PC/config.h
View file @
f2e98b4f
...
...
@@ -24,7 +24,6 @@ standard part of the Python distribution.
#define HAVE_HYPOT
#define DONT_HAVE_SIG_ALARM
#define DONT_HAVE_SIG_PAUSE
#define LONG_BIT 32
/* Microsoft C defines _MSC_VER */
...
...
@@ -38,7 +37,6 @@ standard part of the Python distribution.
#endif
#define PYTHONPATH "c:\\python\\lib"
typedef
int
pid_t
;
#define WORD_BIT 32
#pragma warning(disable:4113)
#define hypot _hypot
#include <stdio.h>
...
...
@@ -48,7 +46,6 @@ typedef int pid_t;
#define WITH_THREAD
#ifndef NETSCAPE_PI
#define USE_SOCKET
#define _COMPLEX_DEFINED
#endif
#ifdef USE_DL_IMPORT
#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
...
...
@@ -65,8 +62,6 @@ typedef int pid_t;
#define PYTHONPATH "c:\\python\\lib;c:\\python\\lib\\dos_8x3"
#define IMPORT_8x3_NAMES
typedef
int
pid_t
;
#define WORD_BIT 16
#define _COMPLEX_DEFINED
#pragma warning(disable:4113)
#define memcpy memmove
/* memcpy dangerous pointer wrap in Win 3.1 */
#define hypot _hypot
...
...
@@ -111,11 +106,6 @@ int sscanf(const char *, const char *, ...);
typedef
int
mode_t
;
typedef
int
uid_t
;
typedef
int
gid_t
;
#ifdef M_I386
#define WORD_BIT 32
#else
#define WORD_BIT 16
#endif
#define VA_LIST_IS_ARRAY
#define HAVE_CLOCK
#define HAVE_STRFTIME
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment