From 1d6462532a3cb61f14cedadf7cd2c90b88f58cce Mon Sep 17 00:00:00 2001 From: Matthew Barr Date: Thu, 12 May 2016 08:39:12 +1000 Subject: [PATCH] vbs: the static array has C linkage --- src/util/simd_utils_ssse3.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/util/simd_utils_ssse3.h b/src/util/simd_utils_ssse3.h index 268bf422..8ab89621 100644 --- a/src/util/simd_utils_ssse3.h +++ b/src/util/simd_utils_ssse3.h @@ -77,7 +77,13 @@ m128 pshufb(m128 a, m128 b) { return result; } +#ifdef __cplusplus +extern "C" { +#endif extern const char vbs_mask_data[]; +#ifdef __cplusplus +} +#endif static really_inline m128 variable_byte_shift_m128(m128 in, s32 amount) {