Date: Fri, 31 May 2024 16:53:51 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: a8fe2d331be3 - main - posix_async: FreeBSD also defines {make|swap|get|set}context Message-ID: <202405311653.44VGrp3H096950@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a8fe2d331be35dcafefa5f706e955f0dde70aa5f commit a8fe2d331be35dcafefa5f706e955f0dde70aa5f Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2024-05-31 15:29:02 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-05-31 16:53:39 +0000 posix_async: FreeBSD also defines {make|swap|get|set}context FreeBSD also defines {make|swap|get|set}context for backward compatibility, despite also exposing POSIX_VERSION 200809L in FreeBSD 15-current. FreeBSD has defined these interfaces since FreeBSD 4.7, released over 20 years ago, so no further nuance in FreeBSD version number is necessary. Pull Request: https://github.com/openssl/openssl/pull/23885 Sponsored by: Netflix --- crypto/openssl/crypto/async/arch/async_posix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/openssl/crypto/async/arch/async_posix.h b/crypto/openssl/crypto/async/arch/async_posix.h index a17c6b8e68af..2ac99d6fea8a 100644 --- a/crypto/openssl/crypto/async/arch/async_posix.h +++ b/crypto/openssl/crypto/async/arch/async_posix.h @@ -18,7 +18,7 @@ # include <unistd.h> # if _POSIX_VERSION >= 200112L \ - && (_POSIX_VERSION < 200809L || defined(__GLIBC__)) + && (_POSIX_VERSION < 200809L || defined(__GLIBC__) || defined(__FreeBSD__)) # include <pthread.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405311653.44VGrp3H096950>