PR79017 workaround incomplete C99 math on darwin
authorJonathan Wakely <jwakely@redhat.com>
Mon, 9 Jan 2017 17:15:58 +0000 (17:15 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 9 Jan 2017 17:15:58 +0000 (17:15 +0000)
commita7765de8ef7653d7e899b24ed7bb3819e5f90f29
treebcebea7a38679521f55bec11d91f3bd3aee07631
parent4b85f4e61cc68995ac3c53e122afc9befc375755
PR79017 workaround incomplete C99 math on darwin

PR libstdc++/79017
* acinclude.m4 (GLIBCXX_CHECK_C99_TR1): Check for llrint and llround
functions separately on darwin and if they're missing define
_GLIBCXX_NO_C99_ROUNDING_FUNCS.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/c_global/cmath [_GLIBCXX_NO_C99_ROUNDING_FUNCS] (llrint)
(llrintf, llrintl, llround, llroundf, llroundl): Do not define.

From-SVN: r244231
libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/configure
libstdc++-v3/include/c_global/cmath