Fix compilation errors in C++ mode with xlclang++ on AIX.
commit75da6fe3ad868618d88d1e1ec1f3135db6fce6c6
authorBruno Haible <bruno@clisp.org>
Thu, 5 Dec 2019 02:18:42 +0000 (5 03:18 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 5 Dec 2019 02:19:24 +0000 (5 03:19 +0100)
treec64e1c2be9b8c7144565aad78ff0e8d88b93c61c
parent1eb6fd581f1890682ef7b39b12c5bcf37c6ee6dd
Fix compilation errors in C++ mode with xlclang++ on AIX.

* lib/math.in.h (expm1l, fmal, remainderl, roundl): Don't redeclare in
C++ mode on AIX.
(isfinite, signbit): In C++ mode on AIX with clang, use the approach
without C preprocessor macro.
* lib/pthread.in.h (pthread_exit): Use _GL_CXXALIAS_SYS_CAST instead of
_GL_CXXALIAS_SYS.
* lib/threads.in.h (thrd_exit): Likewise.
ChangeLog
lib/math.in.h
lib/pthread.in.h
lib/threads.in.h