From 475d3e75f667c152dea6faa4dda71622f86fea06 Mon Sep 17 00:00:00 2001 From: rhuanjl Date: Fri, 14 Jun 2024 08:10:00 +0100 Subject: [PATCH] Correct ifdef for arm64 --- lib/Runtime/Base/Constants.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Runtime/Base/Constants.cpp b/lib/Runtime/Base/Constants.cpp index 3a6311fbbfd..0396b697d71 100644 --- a/lib/Runtime/Base/Constants.cpp +++ b/lib/Runtime/Base/Constants.cpp @@ -1,5 +1,6 @@ //------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. +// Copyright (c) ChakraCore Project Contributors. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------------------------------------------------------- #include "RuntimeBasePch.h" @@ -29,7 +30,7 @@ const char16 Constants::StringMatch[] = _u("String.prototype.match"); const uint64 Constants::ExponentMask = 0x3FF0000000000000; const uint64 Constants::MantissaMask = 0x000FFFFFFFFFFFFF; -#ifdef _M_AMD64 +#ifdef TARGET_64 const size_t Constants::StackLimitForScriptInterrupt = 0x7fffffffffffffff; #else const size_t Constants::StackLimitForScriptInterrupt = 0x7fffffff;