diff options
author | Bruno Haible <bruno@clisp.org> | 2019-12-05 03:18:42 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-12-05 03:19:24 +0100 |
commit | 75da6fe3ad868618d88d1e1ec1f3135db6fce6c6 (patch) | |
tree | c64e1c2be9b8c7144565aad78ff0e8d88b93c61c /lib/threads.in.h | |
parent | 1eb6fd581f1890682ef7b39b12c5bcf37c6ee6dd (diff) | |
download | gnulib-75da6fe3ad868618d88d1e1ec1f3135db6fce6c6.tar.gz |
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.
Diffstat (limited to 'lib/threads.in.h')
-rw-r--r-- | lib/threads.in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/threads.in.h b/lib/threads.in.h index 0ed87b3374..39ccead948 100644 --- a/lib/threads.in.h +++ b/lib/threads.in.h @@ -268,7 +268,7 @@ _GL_WARN_ON_USE (thrd_join, "thrd_join is unportable - " # if !@HAVE_THREADS_H@ _GL_FUNCDECL_SYS (thrd_exit, _Noreturn void, (int)); # endif -_GL_CXXALIAS_SYS (thrd_exit, _Noreturn void, (int)); +_GL_CXXALIAS_SYS_CAST (thrd_exit, _Noreturn void, (int)); _GL_CXXALIASWARN (thrd_exit); #elif defined GNULIB_POSIXCHECK # undef thrd_exit |