mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtdocbook: glibc 2.27 drops support for matherr() support in math.h
This commit is contained in:
parent
a6b5ef552f
commit
49d1ca38e4
1 changed files with 7 additions and 0 deletions
|
@ -65,6 +65,13 @@ extern int tcl_MathInProgress;
|
||||||
* that don't really support it. The compiled procedure is bogus,
|
* that don't really support it. The compiled procedure is bogus,
|
||||||
* but it will never be executed on these systems anyway.
|
* but it will never be executed on these systems anyway.
|
||||||
*/
|
*/
|
||||||
|
#if defined(linux) && defined(__GLIBC__)
|
||||||
|
# include <features.h>
|
||||||
|
/* glibc removed matherr() support between 2.26 and 2.27 */
|
||||||
|
# if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 27) || __GLIBC__ >= 3
|
||||||
|
# undef NEED_MATHERR
|
||||||
|
# endif
|
||||||
|
#endif /* linux */
|
||||||
|
|
||||||
#ifndef NEED_MATHERR
|
#ifndef NEED_MATHERR
|
||||||
struct exception {
|
struct exception {
|
||||||
|
|
Loading…
Reference in a new issue