mirror of https://github.com/nodejs/node.git
build: fix GetCurrentThreadStackLimits error on Windows on Arm
GetCurrentThreadStackLimits is a fairly new API, so it requires a _WIN32_WINNT value of at least 0x0602 to compile successfully. Change-Id: Ib3bc24513453aa37bee68f4a6999cefc26947cb1 PR-URL: https://github.com/nodejs/node/pull/33511 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>pull/33523/merge
parent
99abaf9658
commit
54e5c36e73
|
@ -1073,8 +1073,10 @@
|
|||
'<(V8_ROOT)/src/base/platform/platform-win32.cc',
|
||||
'<(V8_ROOT)/src/base/win32-headers.h',
|
||||
],
|
||||
|
||||
'defines': ['_CRT_RAND_S'], # for rand_s()
|
||||
'conditions': [['target_arch == "arm64"', {
|
||||
'defines': ['_WIN32_WINNT=0x0602'], # For GetCurrentThreadStackLimits on Windows on Arm
|
||||
}]],
|
||||
'defines': ['_CRT_RAND_S'], # for rand_s()
|
||||
'direct_dependent_settings': {
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
|
|
Loading…
Reference in New Issue