Fossil SCM
If _USE_32BIT_TIME_T is already set, e.g. because SQLite provides it already, don't set it again.
Commit
043512c578d18cbc00ea215e90100e497a936a75
Parent
9e940f2e1e67738…
1 file changed
+1
-1
+1
-1
| --- src/config.h | ||
| +++ src/config.h | ||
| @@ -26,11 +26,11 @@ | ||
| 26 | 26 | # define _FILE_OFFSET_BITS 64 |
| 27 | 27 | #endif |
| 28 | 28 | #define _LARGEFILE_SOURCE 1 |
| 29 | 29 | |
| 30 | 30 | /* Make sure that in Win32 builds, _USE_32BIT_TIME_T is always defined. */ |
| 31 | -#if defined(_WIN32) && !defined(_WIN64) | |
| 31 | +#if defined(_WIN32) && !defined(_WIN64) && !defined(_USE_32BIT_TIME_T) | |
| 32 | 32 | # define _USE_32BIT_TIME_T |
| 33 | 33 | #endif |
| 34 | 34 | |
| 35 | 35 | #ifdef HAVE_AUTOCONFIG_H |
| 36 | 36 | #include "autoconfig.h" |
| 37 | 37 |
| --- src/config.h | |
| +++ src/config.h | |
| @@ -26,11 +26,11 @@ | |
| 26 | # define _FILE_OFFSET_BITS 64 |
| 27 | #endif |
| 28 | #define _LARGEFILE_SOURCE 1 |
| 29 | |
| 30 | /* Make sure that in Win32 builds, _USE_32BIT_TIME_T is always defined. */ |
| 31 | #if defined(_WIN32) && !defined(_WIN64) |
| 32 | # define _USE_32BIT_TIME_T |
| 33 | #endif |
| 34 | |
| 35 | #ifdef HAVE_AUTOCONFIG_H |
| 36 | #include "autoconfig.h" |
| 37 |
| --- src/config.h | |
| +++ src/config.h | |
| @@ -26,11 +26,11 @@ | |
| 26 | # define _FILE_OFFSET_BITS 64 |
| 27 | #endif |
| 28 | #define _LARGEFILE_SOURCE 1 |
| 29 | |
| 30 | /* Make sure that in Win32 builds, _USE_32BIT_TIME_T is always defined. */ |
| 31 | #if defined(_WIN32) && !defined(_WIN64) && !defined(_USE_32BIT_TIME_T) |
| 32 | # define _USE_32BIT_TIME_T |
| 33 | #endif |
| 34 | |
| 35 | #ifdef HAVE_AUTOCONFIG_H |
| 36 | #include "autoconfig.h" |
| 37 |