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
6947d0b6
Commit
6947d0b6
authored
24 years ago
by
Fredrik Lundh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-- from Trent Mick: [Patch #101010] replace use of INT_PTR
with uintptr_t (fix MSVC 5.0 build)
parent
6c2f0c73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
PC/config.h
PC/config.h
+2
-2
Python/thread_nt.h
Python/thread_nt.h
+1
-5
No files found.
PC/config.h
View file @
6947d0b6
...
...
@@ -241,13 +241,13 @@ typedef int pid_t;
/* End of compilers - finish up */
/* define the ANSI intptr_t type for portable use of a pointer sized
integer */
/* define some ANSI types that are not defined in earlier Win headers */
#if _MSC_VER >= 1200
/* This file only exists in VC 6.0 or higher */
#include <basetsd.h>
#endif
#if defined(MS_WINDOWS) && !defined(MS_WIN64)
typedef
long
intptr_t
;
typedef
unsigned
long
uintptr_t
;
#endif
#if defined(MS_WIN64)
...
...
This diff is collapsed.
Click to expand it.
Python/thread_nt.h
View file @
6947d0b6
...
...
@@ -161,11 +161,7 @@ static void PyThread__init_thread(void)
*/
int
PyThread_start_new_thread
(
void
(
*
func
)(
void
*
),
void
*
arg
)
{
#if _MSC_VER >= 1200
INT_PTR
rv
;
#else
unsigned
long
rv
;
#endif
uintptr_t
rv
;
int
success
=
0
;
dprintf
((
"%ld: PyThread_start_new_thread called
\n
"
,
PyThread_get_thread_ident
()));
...
...
This diff is collapsed.
Click to expand it.
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