mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
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" Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/579>
This commit is contained in:
parent
36715f407c
commit
6e7f4491ce
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
||||||
#ifndef __GST_MATH_COMPAT_H__
|
#ifndef __GST_MATH_COMPAT_H__
|
||||||
#define __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
|
/* This header is not included automatically via gst/gst.h, you need to
|
||||||
* include it explicitly if you need it. */
|
* include it explicitly if you need it. */
|
||||||
|
|
||||||
|
@ -109,4 +111,6 @@ static union {
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* !__GI_SCANNER__ */
|
||||||
|
|
||||||
#endif /* __GST_MATH_COMPAT_H__ */
|
#endif /* __GST_MATH_COMPAT_H__ */
|
||||||
|
|
Loading…
Reference in a new issue