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: #54898
PR-URL: #54970
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
StefanStojanovic authored Sep 19, 2024
1 parent 29357cb commit 653b965
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 653b965

Please sign in to comment.