build,win: float VS 17.11 compilation patch

Fixes: https://github.com/nodejs/node/issues/54898
PR-URL: https://github.com/nodejs/node/pull/54970
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Stefan Stojanovic 2024-09-19 22:36:42 +02:00 committed by GitHub
parent 29357cb0ef
commit 653b96527a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#include "nghttp3_macro.h"
#if defined(_MSC_VER) && !defined(__clang__) && \
#if defined(_MSC_VER) && _MSC_VER < 1941 && !defined(__clang__) && \
(defined(_M_ARM) || defined(_M_ARM64))
unsigned int __popcnt(unsigned int x) {
unsigned int c = 0;

View File

@ -31,7 +31,7 @@
#include "ngtcp2_macro.h"
#if defined(_MSC_VER) && !defined(__clang__) && \
#if defined(_MSC_VER) && _MSC_VER < 1941 && !defined(__clang__) && \
(defined(_M_ARM) || defined(_M_ARM64))
static unsigned int __popcnt(unsigned int x) {
unsigned int c = 0;