Skip to content

Commit

Permalink
deps: sqlite: fix Windows compilation
Browse files Browse the repository at this point in the history
This is equivalent to the following upstream change:
https://sqlite.org/src/info/6c103aee6f146869

Original commit message:

    Change constant expressions to pre-computed constants, because apparently
    MSVC on ARM requires that.
    [forum:/forumpost/4feb1685cced0a8e|Forum thread 4feb1685cced0a8e].

    FossilOrigin-Name: 6c103aee6f146869a3e0c48694592f2e4c6b57ecdb4450f46e762c38b4e686f1

PR-URL: #52435
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ethan Arrowood <[email protected]>
  • Loading branch information
cjihrig authored and targos committed Jun 20, 2024
1 parent 9e30724 commit 977beab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/sqlite/sqlite3.c
Original file line number Diff line number Diff line change
Expand Up @@ -24886,8 +24886,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 },
};

/*
Expand Down

0 comments on commit 977beab

Please sign in to comment.