Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: third_party/sqlite/src/src/shell.c

Issue 885473002: [sql] Rewrite sqlite patching "system". (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/sqlite/src/src/shell.c
diff --git a/third_party/sqlite/src/src/shell.c b/third_party/sqlite/src/src/shell.c
index 13685c2c184b84c8a068964cf2d2264a0a3c778c..ffb469826a5d7985e91554cee0e9065cf6e3fe0e 100644
--- a/third_party/sqlite/src/src/shell.c
+++ b/third_party/sqlite/src/src/shell.c
@@ -2664,11 +2664,13 @@ int main(int argc, char **argv){
int rc = 0;
/* Begin evanm patch. */
+#if !defined(__APPLE__)
Scott Hess - ex-Googler 2015/01/27 22:09:37 OSX is different, so rather than try to make it wo
extern int sqlite_shell_init_icu();
if( !sqlite_shell_init_icu() ){
fprintf(stderr, "%s: warning: couldn't find icudt38.dll; "
"queries against ICU FTS tables will fail.\n", argv[0]);
}
+#endif /* !defined(__APPLE__) */
/* End evanm patch. */
Argv0 = argv[0];

Powered by Google App Engine
This is Rietveld 408576698