Index: third_party/sqlite/sqlite.gyp |
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp |
index ed64e98d8d0f733939f4f95b799b80fc29dd260e..206ff262a548bc01ca364172393aa242ae25f198 100644 |
--- a/third_party/sqlite/sqlite.gyp |
+++ b/third_party/sqlite/sqlite.gyp |
@@ -62,6 +62,12 @@ |
'HAVE_USLEEP=1', |
], |
}], |
+ ['OS == "linux" or OS == "android"', { |
+ 'defines': [ |
+ # Linux provides fdatasync(), a faster equivalent of fsync(). |
+ 'fdatasync=fdatasync', |
+ ], |
+ }], |
Scott Hess - ex-Googler
2015/03/26 17:46:00
I couldn't figure out if this should be here...
Scott Hess - ex-Googler
2015/03/26 21:51:07
I was updating my Linux client, so I patched your
hashimoto
2015/03/27 05:15:02
I chose this place because this |fdatasync| is use
|
['use_system_sqlite', { |
'type': 'none', |
'direct_dependent_settings': { |