Skip to content

Commit

Permalink
Correct ifdef for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuanjl committed Aug 1, 2024
1 parent 13358c6 commit 475d3e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Runtime/Base/Constants.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 475d3e7

Please sign in to comment.