]> granicus.if.org Git - python/commit
This patch extends PC/config.h and configure.in as appropriate for
authorFred Drake <fdrake@acm.org>
Thu, 29 Jun 2000 20:44:47 +0000 (20:44 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 29 Jun 2000 20:44:47 +0000 (20:44 +0000)
commita3f6e91307fa45c5eb88c3dd7c573ba5ad7df199
treef8130efa42c7c36432e6e1c6f791657143823a97
parentd04038d9d2f7950d533a33d6c01b7911f90c0c2a
This patch extends PC/config.h and configure.in as appropriate for
64-bit readiness (the config values are needed for patches that I will
be submitting later today. The changes are as follows:

- add SIZEOF_OFF_T #define's to PC/config.h (it was already in configure.in)

- add SIZEOF_TIME_T #define to PC/config.h and configure
Needed for some buffer overflow checking because sizeof(time_t) is
different on Win64.

- add SIZEOF_FPOS_T #define
Needed for the Win64 large file support implementation.

- add SIZEOF_HKEY in PC/config.h only
Needed for proper Win32 vs. Win64 handling in PC/winreg.c

- #define HAVE_LARGEFILE_SUPPORT for Win64

- typedef long intptr_t; for all Windows except Win64 (which defines it
itself)
This is a new ANSI (I think) type that is useful (and used by me) for
proper handling in msvcrtmodule.c and posixmodule.c

- indent the nested #ifdef's and #defines in PC/config.h
This is *so* much more readable. There cannot be a compiler
compatibilty issue here can there? Perl uses indented #defines and it
compiles with everything.
PC/config.h
acconfig.h
config.h.in
configure.in