Skip to content

Commit 653b965

Browse files
build,win: float VS 17.11 compilation patch
Fixes: #54898 PR-URL: #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 29357cb commit 653b965

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c

+1-1
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

+1-1
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)