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
cbcff93d
Commit
cbcff93d
authored
Aug 03, 2004
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore compilation on MSVC++ 6.0
parent
a4127695
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Modules/socketmodule.c
Modules/socketmodule.c
+4
-0
PC/pyconfig.h
PC/pyconfig.h
+4
-2
No files found.
Modules/socketmodule.c
View file @
cbcff93d
...
...
@@ -281,6 +281,10 @@ int h_errno; /* not used */
#include "addrinfo.h"
#endif
#if defined(_MSC_VER) && _MSC_VER == 1200
#include "addrinfo.h"
#endif
#ifndef HAVE_INET_PTON
int
inet_pton
(
int
af
,
const
char
*
src
,
void
*
dst
);
const
char
*
inet_ntop
(
int
af
,
const
void
*
src
,
char
*
dst
,
socklen_t
size
);
...
...
PC/pyconfig.h
View file @
cbcff93d
...
...
@@ -267,10 +267,12 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
/* Atleast VC 7.1 has them. If some compiler does not provide them,
#ifdef appropriately .*/
/* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200.
If some compiler does not provide them, modify the #if appropriately. */
#if _MSC_VER != 1200
#define HAVE_UINTPTR_T 1
#define HAVE_INTPTR_T 1
#endif
#endif
...
...
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