]> granicus.if.org Git - libvpx/blobdiff - warnings.h
vp9,encoder: relocate setjmp
[libvpx] / warnings.h
index ac3a4b63e6dedce874218f6e77fa11c40ca19376..6b8ae6796f37cbc76904850f0e4cd9e1c99c1c41 100644 (file)
 #ifndef WARNINGS_H_
 #define WARNINGS_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct vpx_codec_enc_cfg;
 struct VpxEncoderConfig;
 
@@ -22,4 +26,8 @@ void check_encoder_config(int disable_prompt,
                           const struct VpxEncoderConfig *global_config,
                           const struct vpx_codec_enc_cfg *stream_config);
 
+#ifdef __cplusplus
+}  // extern "C"
+#endif
+
 #endif  // WARNINGS_H_