math-compat.h: silence g-ir-scanner warnings
authorTim-Philipp Müller <tim@centricular.com>
Sun, 26 Jul 2020 13:48:52 +0000 (14:48 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 26 Jul 2020 14:34:54 +0000 (15:34 +0100)
commit6e7f4491ce9f32f02cd52e5bf836c2b78cfe07f6
tree3018df1d04587f514ab7593237f144f1101adc3e
parent36715f407cfbd23d7c4141ce6820225fba8df61c
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>
gst/math-compat.h