Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32feb85 commit a2d4d6cCopy full SHA for a2d4d6c
1 file changed
PC/pyconfig.h
@@ -272,11 +272,16 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
272
# define PLATFORM "win32"
273
# define HAVE_LARGEFILE_SUPPORT
274
# define SIZEOF_VOID_P 4
275
-# define SIZEOF_TIME_T 4
276
# define SIZEOF_OFF_T 4
277
# define SIZEOF_FPOS_T 8
278
# define SIZEOF_HKEY 4
279
# define SIZEOF_SIZE_T 4
+ /* MS VS2005 changes TIME_T to an 64-bit type on all platforms */
280
+# if defined(_MSC_VER) && _MSC_VER >= 1400
281
+# define SIZEOF_TIME_T 8
282
+# else
283
+# define SIZEOF_TIME_T 4
284
+# endif
285
#endif
286
287
#ifdef _DEBUG
0 commit comments