diff options
author | Barry Warsaw <barry@python.org> | 2000-08-18 04:53:33 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-08-18 04:53:33 (GMT) |
commit | bc7c7f991c4654cb270cc09272559534de492d30 (patch) | |
tree | 45320b5090ddbf687b3cb3c3e88e3ff7ee641f5d /config.h.in | |
parent | e736177d5bfdb0e7e844b199c4637991ed9dda49 (diff) | |
download | cpython-bc7c7f991c4654cb270cc09272559534de492d30.zip cpython-bc7c7f991c4654cb270cc09272559534de492d30.tar.gz cpython-bc7c7f991c4654cb270cc09272559534de492d30.tar.bz2 |
Added test for uintptr_t, the C9X acceptable way to spell "type to
which I can cast void* to and back again without losing information".
In pyport.h, we typedef Py_uintptr_t to mean this thing, which if the
platform supports, will be uintptr_t (otherwise, other accomodations
are made).
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index c256690..debcbf8 100644 --- a/config.h.in +++ b/config.h.in @@ -124,6 +124,9 @@ /* Define this if you have the type long long */ #undef HAVE_LONG_LONG +/* Define this if you have the type uintptr_t */ +#undef HAVE_UINTPTR_T + /* Define if your compiler supports function prototypes */ #undef HAVE_PROTOTYPES @@ -254,6 +257,9 @@ /* The number of bytes in a short. */ #undef SIZEOF_SHORT +/* The number of bytes in a uintptr_t. */ +#undef SIZEOF_UINTPTR_T + /* The number of bytes in a void *. */ #undef SIZEOF_VOID_P |