| Index: third_party/sqlite/BUILD.gn
|
| diff --git a/third_party/sqlite/BUILD.gn b/third_party/sqlite/BUILD.gn
|
| index 80e1b377e8d00d1078f2d1b34bfd39df69a7822b..526d16b195a5c903c88f575c43b33d81d3603c04 100644
|
| --- a/third_party/sqlite/BUILD.gn
|
| +++ b/third_party/sqlite/BUILD.gn
|
| @@ -42,6 +42,12 @@ source_set("sqlite") {
|
| "HAVE_USLEEP=1",
|
| ]
|
| }
|
| + if (is_linux || is_android) {
|
| + defines += [
|
| + # Linux provides fdatasync(), a faster equivalent of fsync().
|
| + "fdatasync=fdatasync",
|
| + ]
|
| + }
|
|
|
| include_dirs = [ "amalgamation" ]
|
|
|
|
|