diff options
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/native_client/src/trusted/plugin/arch_x86/sandbox_isa.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 d9f9c0c..f71c2be 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 |