summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2020-05-31 16:06:07 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2020-05-31 17:09:23 +0200
commit2d5cf2b4c4b11b2df01363133be80fe25b79252d (patch)
treeb393eeb50596ffbfbb5f106626e4d4eecfe36917 /meson.build
parentc5829bd0e2134ed9f05fe9d6fbe1f3156a00352e (diff)
downloadgtk+-2d5cf2b4c4b11b2df01363133be80fe25b79252d.tar.gz
Drop fallback-c89.c
We require a C compiler supporting C99 now. The main purpose of these fallbacks was for MSVC. From what I can see this is now all supported by MSVC 2015+ anyway. The only other change this includes is to replace isnanf() with the (type infering) C99 isnan() macro, because MSVC doesn't provide isnanf().
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build9
1 files changed, 0 insertions, 9 deletions
diff --git a/meson.build b/meson.build
index 874fee25a8..9295163603 100644
--- a/meson.build
+++ b/meson.build
@@ -191,16 +191,11 @@ check_functions = [
'getresuid',
'lstat',
'mmap',
- 'nearbyint',
'posix_fallocate',
'_lock_file',
'flockfile',
'mkstemp',
'mallinfo',
- 'round',
- 'rint',
- 'log2',
- 'exp2',
'sincos',
'sincosf',
]
@@ -211,10 +206,6 @@ foreach func : check_functions
endif
endforeach
-cdata.set('HAVE_DECL_ISINF', cc.has_header_symbol('math.h', 'isinf'))
-cdata.set('HAVE_DECL_ISNAN', cc.has_header_symbol('math.h', 'isnan'))
-cdata.set('HAVE_DECL_ISNANF', cc.has_header_symbol('math.h', 'isnanf'))
-
# Disable deprecation checks for all libraries we depend on on stable branches.
# This is so newer versions of those libraries don't cause more warnings with
# a stable GTK version.