--- pyconfig.h 2006-02-23 16:54:33.171875000 -0600 +++ pyconfig.h.new 2006-02-23 16:58:57.843750000 -0600 @@ -272,7 +272,13 @@ # define PLATFORM "win32" # define HAVE_LARGEFILE_SUPPORT # define SIZEOF_VOID_P 4 +/* As of Visual C++ 2005, the Microsoft CRT defines time_t to be + 64 bits, instead of the usual 32 bits. */ +#if defined(_MSC_VER) && _MSC_VER >= 1400 +# define SIZEOF_TIME_T 8 +#else # define SIZEOF_TIME_T 4 +#endif # define SIZEOF_OFF_T 4 # define SIZEOF_FPOS_T 8 # define SIZEOF_HKEY 4