summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2020-01-08 17:05:44 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2020-01-08 17:15:29 +0800
commita9b1d4a38979278d8ffb6c4c9e2161c7b67fe93d (patch)
tree8f9289fde5bc8686bffdee16ed908719c938a411 /meson.build
parentea810f176be50471a8f5b5a798aa551ef96bc717 (diff)
downloadgtk+-a9b1d4a38979278d8ffb6c4c9e2161c7b67fe93d.tar.gz
build: Check for sincosf()
sincosf() is really a GCC-specific function that may more may not be supported on non-GCC compilers, so we want to check for it, otherwise we use a fallback implementation, not unlike the one in demos/gtk-demo/gtkgears.c.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index c07ae0340e..22a211c4fc 100644
--- a/meson.build
+++ b/meson.build
@@ -198,6 +198,7 @@ check_functions = [
'log2',
'exp2',
'sincos',
+ 'sincosf',
]
foreach func : check_functions