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

Unified Diff: ports/sqlite/nacl.patch

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « ports/sqlite/build.sh ('k') | ports/subversion/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/sqlite/nacl.patch
diff --git a/ports/sqlite/nacl.patch b/ports/sqlite/nacl.patch
index 4887905cbc49e7e1ed379383344bc640546d48da..3fb67e388767291dc066327d49daf83c19435cf2 100644
--- a/ports/sqlite/nacl.patch
+++ b/ports/sqlite/nacl.patch
@@ -1,17 +1,6 @@
diff --git a/shell.c b/shell.c
--- a/shell.c
+++ b/shell.c
-@@ -2935,6 +2939,10 @@ static char *cmdline_option_value(int argc, char **argv, int i){
- return argv[i];
- }
-
-+#ifdef PPAPI
-+#define main nacl_main
-+#endif
-+
- int main(int argc, char **argv){
- char *zErrMsg = 0;
- struct callback_data data;
@@ -2952,6 +2968,10 @@ int main(int argc, char **argv){
main_init(&data);
stdin_is_interactive = isatty(0);
« no previous file with comments | « ports/sqlite/build.sh ('k') | ports/subversion/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698