Commit 263d501f authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

math-compat.h: silence g-ir-scanner warnings

Easier to just make g-ir-scanner skip this header via #ifndef __GI_SCANNER__
than maintain different sets of headers in the meson.build file.

Warning: Gst: symbol="rint": Unknown namespace for symbol "rint"
Warning: Gst: symbol="rintf": Unknown namespace for symbol "rintf"
Warning: Gst: symbol="isnan": Unknown namespace for symbol "isnan"
parent df39ae1f
......@@ -20,6 +20,8 @@
#ifndef __GST_MATH_COMPAT_H__
#define __GST_MATH_COMPAT_H__
#ifndef __GI_SCANNER__
/* This header is not included automatically via gst/gst.h, you need to
* include it explicitly if you need it. */
......@@ -109,4 +111,6 @@ static union {
G_END_DECLS
#endif /* !__GI_SCANNER__ */
#endif /* __GST_MATH_COMPAT_H__ */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment