diff options
author | Bruno Haible <bruno@clisp.org> | 2021-01-06 11:59:57 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-01-06 11:59:57 +0100 |
commit | 9b8b302f6d793179b31619863faa987618082863 (patch) | |
tree | b4867a8928b514fa21259455082187f6654ffe59 /lib/math.in.h | |
parent | fde3f75ddc3ba2cbfa23cde1d64c5b363e2fb2d0 (diff) | |
download | gnulib-9b8b302f6d793179b31619863faa987618082863.tar.gz |
ilogbl: Fix compilation error with xlclang on AIX 7.2.
* lib/math.in.h (ilogbl): Undefine macro before declaration.
Diffstat (limited to 'lib/math.in.h')
-rw-r--r-- | lib/math.in.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/math.in.h b/lib/math.in.h index 6208a015ea..335505da61 100644 --- a/lib/math.in.h +++ b/lib/math.in.h @@ -1322,6 +1322,7 @@ _GL_FUNCDECL_RPL (ilogbl, int, (long double x)); _GL_CXXALIAS_RPL (ilogbl, int, (long double x)); # else # if !@HAVE_ILOGBL@ +# undef ilogbl _GL_FUNCDECL_SYS (ilogbl, int, (long double x)); # endif _GL_CXXALIAS_SYS (ilogbl, int, (long double x)); @@ -2102,7 +2103,7 @@ _GL_FUNCDECL_RPL (sinf, float, (float x)); _GL_CXXALIAS_RPL (sinf, float, (float x)); # else # if !@HAVE_SINF@ - # undef sinf +# undef sinf _GL_FUNCDECL_SYS (sinf, float, (float x)); # endif _GL_CXXALIAS_SYS (sinf, float, (float x)); |