]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
vbs: the static array has C linkage
authorMatthew Barr <matthew.barr@intel.com>
Wed, 11 May 2016 22:39:12 +0000 (08:39 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Tue, 24 May 2016 01:26:27 +0000 (11:26 +1000)
src/util/simd_utils_ssse3.h

index 268bf42298602120a1349a4196b49c2f9f9b9afc..8ab896218b9cfc144a87fcdbf9a74cb4b4588167 100644 (file)
@@ -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) {