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

Unified Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_ppapi.c

Issue 10950042: PNaCl: Build a PPAPI shims library for all architectures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review Created 8 years, 3 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 | « ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_entry.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_ppapi.c
diff --git a/ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_ppapi.c b/ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_ppapi.c
index dd39f656c6b79dce7dbee2c1ed93c3ab7eb4092e..3a7825c446b91b8975233f9ed14a32a988fd0c12 100644
--- a/ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_ppapi.c
+++ b/ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_ppapi.c
@@ -12,6 +12,9 @@
#include "native_client/src/untrusted/irt/irt_ppapi.h"
#include "ppapi/generators/pnacl_shim.h"
+/* The PNaCl PPAPI shims are only needed on x86-64. */
+#if defined(__x86_64__)
+
TYPE_nacl_irt_query __pnacl_real_irt_interface;
/*
@@ -100,3 +103,5 @@ size_t __pnacl_irt_interface_wrapper(const char *interface_ident,
}
return 0;
}
+
+#endif
« no previous file with comments | « ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_entry.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698