summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-01-06 11:59:57 +0100
committerBruno Haible <bruno@clisp.org>2021-01-06 11:59:57 +0100
commit9b8b302f6d793179b31619863faa987618082863 (patch)
treeb4867a8928b514fa21259455082187f6654ffe59 /lib
parentfde3f75ddc3ba2cbfa23cde1d64c5b363e2fb2d0 (diff)
downloadgnulib-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')
-rw-r--r--lib/math.in.h3
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));