Fossil SCM

Make sure that in Win64 builds _USE_32BIT_TIME_T is never defined.

jan.nijtmans 2013-10-10 13:18 trunk
Commit d66cfb164f3987d45d6267a55b54c9714fa24e0c
1 file changed +5
--- src/config.h
+++ src/config.h
@@ -24,10 +24,15 @@
2424
#define _LARGE_FILE 1
2525
#ifndef _FILE_OFFSET_BITS
2626
# define _FILE_OFFSET_BITS 64
2727
#endif
2828
#define _LARGEFILE_SOURCE 1
29
+
30
+/* Make sure that in 64-bit builds, _USE_32BIT_TIME_T is NEVER defined. */
31
+#ifdef _WIN64
32
+# undef _USE_32BIT_TIME_T
33
+#endif
2934
3035
#ifdef HAVE_AUTOCONFIG_H
3136
#include "autoconfig.h"
3237
#endif
3338
3439
--- src/config.h
+++ src/config.h
@@ -24,10 +24,15 @@
24 #define _LARGE_FILE 1
25 #ifndef _FILE_OFFSET_BITS
26 # define _FILE_OFFSET_BITS 64
27 #endif
28 #define _LARGEFILE_SOURCE 1
 
 
 
 
 
29
30 #ifdef HAVE_AUTOCONFIG_H
31 #include "autoconfig.h"
32 #endif
33
34
--- src/config.h
+++ src/config.h
@@ -24,10 +24,15 @@
24 #define _LARGE_FILE 1
25 #ifndef _FILE_OFFSET_BITS
26 # define _FILE_OFFSET_BITS 64
27 #endif
28 #define _LARGEFILE_SOURCE 1
29
30 /* Make sure that in 64-bit builds, _USE_32BIT_TIME_T is NEVER defined. */
31 #ifdef _WIN64
32 # undef _USE_32BIT_TIME_T
33 #endif
34
35 #ifdef HAVE_AUTOCONFIG_H
36 #include "autoconfig.h"
37 #endif
38
39

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button