diff options
| author | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-07 20:16:28 +0000 |
|---|---|---|
| committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-07 20:16:28 +0000 |
| commit | d1e745eca9c2c6a6422c6393002eb09a37b8a6c4 (patch) | |
| tree | 402aa2637543f6dc5747b55819f4a0acbb123f48 /PC | |
| parent | 730793e5bcad1d2f192bbc9fb7ae6bfb832cb34f (diff) | |
| download | cpython-d1e745eca9c2c6a6422c6393002eb09a37b8a6c4.tar.gz | |
-- from Trent Mick: [Patch #101010] replace use of INT_PTR
with uintptr_t (fix MSVC 5.0 build)
Diffstat (limited to 'PC')
| -rw-r--r-- | PC/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/config.h b/PC/config.h index 9b683734cb..f1b0de77ae 100644 --- a/PC/config.h +++ b/PC/config.h @@ -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) |
