| Index: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
| diff --git a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
| index 9dfe11d9d5c0a000be8d35af60e333b6e5cf9e2a..c87620fe34a0593282bb85af9f5946779f11c695 100644
|
| --- a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
| +++ b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
| @@ -3,7 +3,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/* Last generated from IDL: Sun Sep 16 10:28:00 2012. */
|
| +/* Last generated from IDL: Wed Sep 19 20:53:31 2012. */
|
| #include "ppapi/generators/pnacl_shim.h"
|
|
|
| #include "ppapi/c/ppb.h"
|
| @@ -97,6 +97,10 @@
|
| #include "ppapi/c/trusted/ppb_image_data_trusted.h"
|
| #include "ppapi/c/trusted/ppb_url_loader_trusted.h"
|
|
|
| +
|
| +/* The PNaCl PPAPI shims are only needed on x86-64. */
|
| +#if defined(__x86_64__)
|
| +
|
| /* Use local strcmp to avoid dependency on libc. */
|
| static int mystrcmp(const char* s1, const char *s2) {
|
| while((*s1 && *s2) && (*s1++ == *s2++));
|
| @@ -5059,3 +5063,5 @@ const void *__Pnacl_PPPGetInterface(const char *name) {
|
| return wrapper->real_iface;
|
| }
|
| }
|
| +
|
| +#endif
|
|
|