Skip to content

Commit ea66be9

Browse files
StefanStojanoviclouwers
authored andcommitted
build,win: float VS 17.11 compilation patch
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>
1 parent 7d9ac1f commit ea66be9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
#include "nghttp3_macro.h"
3535

36-
#if defined(_MSC_VER) && !defined(__clang__) && \
36+
#if defined(_MSC_VER) && _MSC_VER < 1941 && !defined(__clang__) && \
3737
(defined(_M_ARM) || defined(_M_ARM64))
3838
unsigned int __popcnt(unsigned int x) {
3939
unsigned int c = 0;

deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#include "ngtcp2_macro.h"
3333

34-
#if defined(_MSC_VER) && !defined(__clang__) && \
34+
#if defined(_MSC_VER) && _MSC_VER < 1941 && !defined(__clang__) && \
3535
(defined(_M_ARM) || defined(_M_ARM64))
3636
static unsigned int __popcnt(unsigned int x) {
3737
unsigned int c = 0;

0 commit comments

Comments
 (0)