Skip to content

Commit

Permalink
build,win: float VS 17.11 compilation patch
Browse files Browse the repository at this point in the history
Fixes: nodejs#54898
PR-URL: nodejs#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>
  • Loading branch information
StefanStojanovic authored and louwers committed Nov 2, 2024
1 parent 7d9ac1f commit ea66be9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ea66be9

Please sign in to comment.