diff options
Diffstat (limited to 'vp8/common/common.h')
-rw-r--r-- | vp8/common/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/common/common.h b/vp8/common/common.h index 9671da00f..ee5b58c75 100644 --- a/vp8/common/common.h +++ b/vp8/common/common.h @@ -18,6 +18,10 @@ #include "vpx_mem/vpx_mem.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Only need this for fixed-size arrays, for structs just assign. */ #define vp8_copy( Dest, Src) { \ @@ -37,4 +41,8 @@ #define vp8_zero_array( Dest, N) vpx_memset( Dest, 0, N * sizeof( *Dest)); +#ifdef __cplusplus +} // extern "C" +#endif + #endif // VP8_COMMON_COMMON_H_ |