1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Change constant expressions to pre-computed constants, because apparently

MSVC on ARM requires that.
[forum:/forumpost/4feb1685cced0a8e|Forum thread 4feb1685cced0a8e].

FossilOrigin-Name: 6c103aee6f146869a3e0c48694592f2e4c6b57ecdb4450f46e762c38b4e686f1
This commit is contained in:
drh
2024-06-11 14:36:56 +00:00
parent 34e4c6f732
commit 941602ae4f
3 changed files with 9 additions and 9 deletions

View File

@@ -667,8 +667,8 @@ static const struct {
/* 1 */ { 6, "minute", 7.7379e+12, 60.0 },
/* 2 */ { 4, "hour", 1.2897e+11, 3600.0 },
/* 3 */ { 3, "day", 5373485.0, 86400.0 },
/* 4 */ { 5, "month", 176546.0, 30.0*86400.0 },
/* 5 */ { 4, "year", 14713.0, 365.0*86400.0 },
/* 4 */ { 5, "month", 176546.0, 2592000.0 },
/* 5 */ { 4, "year", 14713.0, 31536000.0 },
};
/*