From b05bd6568986fea5427e851cfe7567e0937d77a4 Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Tue, 19 Oct 2021 13:18:18 +0200 Subject: [PATCH] fixed redefinition error on clang with musl --- modules/wechat_qrcode/src/zxing/common/bitarray.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/wechat_qrcode/src/zxing/common/bitarray.cpp b/modules/wechat_qrcode/src/zxing/common/bitarray.cpp index 768f6256d..e0cb94175 100644 --- a/modules/wechat_qrcode/src/zxing/common/bitarray.cpp +++ b/modules/wechat_qrcode/src/zxing/common/bitarray.cpp @@ -15,12 +15,6 @@ using zxing::BitArray; using zxing::ErrorHandler; using zxing::Ref; -#if __WORDSIZE == 64 -// typedef long int int64_t; -#else -typedef long long int int64_t; -#endif - BitArray::BitArray(int size_) : size(size_), bits(size_), nextSets(size_), nextUnSets(size_) {} void BitArray::setUnchar(int i, unsigned char newBits) { bits[i] = newBits; }