]> granicus.if.org Git - libvpx/commitdiff
odintrin.h: add missing extern "C"
authorJames Zern <jzern@google.com>
Wed, 7 Sep 2016 06:25:51 +0000 (23:25 -0700)
committerJames Zern <jzern@google.com>
Wed, 7 Sep 2016 06:31:26 +0000 (23:31 -0700)
fixes test linkage

Change-Id: I15a7b32551fddc5e78e3035e9d2e94a57ff9f1d2

av1/common/odintrin.h

index 4c5b9ae5cf893de7845861a4f9ca916ed0257c3c..5324cff8c5fcb50d264541dec417476b6de68aa4 100644 (file)
 #include "aom_dsp/aom_dsp_common.h"
 #include "aom_ports/bitops.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*Smallest blocks are 4x4*/
 #define OD_LOG_BSIZE0 (2)
 /*There are 5 block sizes total (4x4, 8x8, 16x16, 32x32 and 64x64).*/
@@ -55,4 +59,8 @@ extern uint32_t OD_DIVU_SMALL_CONSTS[OD_DIVU_DMAX][2];
   We define a special version of the macro to use when x can be zero.*/
 #define OD_ILOG(x) ((x) ? OD_ILOG_NZ(x) : 0)
 
+#ifdef __cplusplus
+}  // extern "C"
 #endif
+
+#endif  // AV1_COMMON_ODINTRIN_H_