From 7d3eff8648361174282c497d653dfdf902b25ca6 Mon Sep 17 00:00:00 2001 From: Matthew Barr Date: Wed, 14 Sep 2016 14:00:43 +1000 Subject: [PATCH] extern "C" for mask1bit table --- src/util/simd_utils.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/util/simd_utils.h b/src/util/simd_utils.h index 4bb055df..afa8c7f8 100644 --- a/src/util/simd_utils.h +++ b/src/util/simd_utils.h @@ -260,7 +260,13 @@ m128 loadbytes128(const void *ptr, unsigned int n) { return a; } +#ifdef __cplusplus +extern "C" { +#endif extern const u8 simd_onebit_masks[]; +#ifdef __cplusplus +} +#endif static really_inline m128 mask1bit128(unsigned int n) {