diff options
author | Simon McVittie <smcv@collabora.com> | 2018-10-22 14:52:01 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-11-19 11:27:38 +0000 |
commit | e57120cb6535347bc538c00db1ad6cf7cf808878 (patch) | |
tree | 74fde30e505520eda8ca895b19e74ad5f7efb07e /cmake/config.h.cmake | |
parent | c018e0b1b28107cac6d243295b7afa8939fdbdcd (diff) | |
download | dbus-e57120cb6535347bc538c00db1ad6cf7cf808878.tar.gz |
build: Drop support for non-POSIX getpwnam_r(), getgrnam_r()
Solaris 2.3 and 2.4 took their getpwnam_r() signature from draft 6
of the POSIX threads standard. Since Solaris 2.5 (1995), defining
_POSIX_PTHREAD_SEMANTICS opts-in to the non-draft version of
getpwnam_r(), and since Solaris 11.4 (2018), the non-draft version is
the default.
We already use AC_USE_SYSTEM_EXTENSIONS, which defines
_POSIX_PTHREAD_SEMANTICS, among other useful macros.
Thanks to Alan Coopersmith for assistance with Solaris history.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'cmake/config.h.cmake')
-rw-r--r-- | cmake/config.h.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index d2238816..15f34909 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -167,7 +167,7 @@ #cmakedefine HAVE_NANOSLEEP 1 /* Define to 1 if you have getpwnam_r */ -#cmakedefine HAVE_POSIX_GETPWNAM_R 1 +#cmakedefine HAVE_GETPWNAM_R 1 /* Define to 1 if you have socketpair */ #cmakedefine HAVE_SOCKETPAIR 1 |