From 962fd354b5ec56f6909951b843dc65d7b510d099 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Thu, 21 Jan 2021 18:30:40 +0800 Subject: [PATCH] hopefully fixed compile error on Windows --- modules/wechat_qrcode/src/zxing/common/mathutils.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/wechat_qrcode/src/zxing/common/mathutils.hpp b/modules/wechat_qrcode/src/zxing/common/mathutils.hpp index 95ac189c4..114701840 100644 --- a/modules/wechat_qrcode/src/zxing/common/mathutils.hpp +++ b/modules/wechat_qrcode/src/zxing/common/mathutils.hpp @@ -15,6 +15,8 @@ #if (defined __GNUC__ && defined __x86_64__ && defined __SSE2__ && !defined __APPLE__ && \ !defined __GXX_WEAK__) #include +#elif defined _MSC_VER && (defined _M_X64 || defined _M_IX86) +#include #endif #include