summaryrefslogtreecommitdiffstats
path: root/libvpx/vp9/common/vp9_pragmas.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvpx/vp9/common/vp9_pragmas.h')
-rw-r--r--libvpx/vp9/common/vp9_pragmas.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libvpx/vp9/common/vp9_pragmas.h b/libvpx/vp9/common/vp9_pragmas.h
index f079161..0efc713 100644
--- a/libvpx/vp9/common/vp9_pragmas.h
+++ b/libvpx/vp9/common/vp9_pragmas.h
@@ -11,6 +11,10 @@
#ifndef VP9_COMMON_VP9_PRAGMAS_H_
#define VP9_COMMON_VP9_PRAGMAS_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef __INTEL_COMPILER
#pragma warning(disable:997 1011 170)
#endif
@@ -19,4 +23,8 @@
#pragma warning(disable:4799)
#endif
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP9_COMMON_VP9_PRAGMAS_H_