| Index: ppapi/native_client/src/trusted/plugin/arch_x86/sandbox_isa.cc
|
| diff --git a/ppapi/native_client/src/trusted/plugin/arch_x86/sandbox_isa.cc b/ppapi/native_client/src/trusted/plugin/arch_x86/sandbox_isa.cc
|
| index d9f9c0cab5fc56b3372376581409be5fe4bd8313..f71c2becbac51d309e66c0baff2e114c24a74a89 100644
|
| --- a/ppapi/native_client/src/trusted/plugin/arch_x86/sandbox_isa.cc
|
| +++ b/ppapi/native_client/src/trusted/plugin/arch_x86/sandbox_isa.cc
|
| @@ -15,7 +15,8 @@ const char* const kNexeArchX86_64 = "x86-64";
|
|
|
| namespace plugin {
|
| const char* GetSandboxISA() {
|
| -#if defined(NACL_ARCH_CPU_X86_64) && (defined(NACL_LINUX) || defined(NACL_OSX))
|
| +#if (NACL_ARCH(NACL_BUILD_ARCH) == NACL_x86 && NACL_BUILD_SUBARCH == 64) && \
|
| + (defined(NACL_LINUX) || defined(NACL_OSX))
|
| return kNexeArchX86_64; // 64-bit Linux or Mac.
|
| #else
|
| return NaClOsIs64BitWindows() == 1
|
|
|