Skip to content

Commit 475d3e7

Browse files
committed
Correct ifdef for arm64
1 parent 13358c6 commit 475d3e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Runtime/Base/Constants.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//-------------------------------------------------------------------------------------------------------
22
// Copyright (C) Microsoft. All rights reserved.
3+
// Copyright (c) ChakraCore Project Contributors. All rights reserved.
34
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
45
//-------------------------------------------------------------------------------------------------------
56
#include "RuntimeBasePch.h"
@@ -29,7 +30,7 @@ const char16 Constants::StringMatch[] = _u("String.prototype.match");
2930
const uint64 Constants::ExponentMask = 0x3FF0000000000000;
3031
const uint64 Constants::MantissaMask = 0x000FFFFFFFFFFFFF;
3132

32-
#ifdef _M_AMD64
33+
#ifdef TARGET_64
3334
const size_t Constants::StackLimitForScriptInterrupt = 0x7fffffffffffffff;
3435
#else
3536
const size_t Constants::StackLimitForScriptInterrupt = 0x7fffffff;

0 commit comments

Comments
 (0)