• Fred Drake's avatar
    This patch extends PC/config.h and configure.in as appropriate for · a3f6e913
    Fred Drake yazdı
    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.
    a3f6e913
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...