mirror of
https://github.com/python/cpython.git
synced 2025-09-18 06:30:38 +00:00
Patch #1437769: notice that time_t is a 64-bit type in VS2005
This commit is contained in:
parent
32feb8592f
commit
a2d4d6c285
1 changed files with 6 additions and 1 deletions
|
@ -272,11 +272,16 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
|
||||||
# define PLATFORM "win32"
|
# define PLATFORM "win32"
|
||||||
# define HAVE_LARGEFILE_SUPPORT
|
# define HAVE_LARGEFILE_SUPPORT
|
||||||
# define SIZEOF_VOID_P 4
|
# define SIZEOF_VOID_P 4
|
||||||
# define SIZEOF_TIME_T 4
|
|
||||||
# define SIZEOF_OFF_T 4
|
# define SIZEOF_OFF_T 4
|
||||||
# define SIZEOF_FPOS_T 8
|
# define SIZEOF_FPOS_T 8
|
||||||
# define SIZEOF_HKEY 4
|
# define SIZEOF_HKEY 4
|
||||||
# define SIZEOF_SIZE_T 4
|
# define SIZEOF_SIZE_T 4
|
||||||
|
/* MS VS2005 changes TIME_T to an 64-bit type on all platforms */
|
||||||
|
# if defined(_MSC_VER) && _MSC_VER >= 1400
|
||||||
|
# define SIZEOF_TIME_T 8
|
||||||
|
# else
|
||||||
|
# define SIZEOF_TIME_T 4
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue