Skip to content

Commit c92421a

Browse files
committed
deps: cherry-pick win/arm64/clang fix for nghttp3
Refs: ngtcp2/nghttp3#112
1 parent a37b72d commit c92421a

1 file changed

Lines changed: 1 addition & 1 deletion

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(_M_ARM64)
36+
#if defined(_MSC_VER) && !defined(__clang__) && (defined(_M_ARM) || defined(_M_ARM64))
3737
unsigned int __popcnt(unsigned int x) {
3838
unsigned int c = 0;
3939
for (; x; ++c) {

0 commit comments

Comments
 (0)