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

Unified Diff: ports/vim/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/unzip/build.sh ('k') | ports/wireshark/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/vim/nacl.patch
diff --git a/ports/vim/nacl.patch b/ports/vim/nacl.patch
index 54215f53479dc39b279585c126f1462d0da094b1..e9dc71427465e17b8a8e62f3539b2b50a6851ad3 100644
--- a/ports/vim/nacl.patch
+++ b/ports/vim/nacl.patch
@@ -43,19 +43,18 @@ diff --git a/src/auto/configure b/src/auto/configure
diff --git a/src/main.c b/src/main.c
--- a/src/main.c
+++ b/src/main.c
-@@ -14,6 +14,11 @@
+@@ -14,6 +14,10 @@
# include <spawno.h> /* special MS-DOS swapping library */
#endif
+#ifdef __native_client__
+#include <nacl_main.h>
-+#define main nacl_main
+#endif
+
#ifdef __CYGWIN__
# ifndef WIN32
# include <cygwin/version.h>
-@@ -165,6 +170,11 @@ main
+@@ -165,6 +169,11 @@ main
int argc;
char **argv;
{
« no previous file with comments | « ports/unzip/build.sh ('k') | ports/wireshark/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698