diff options
author | Warner Losh <imp@bsdimp.com> | 2024-03-18 19:23:08 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-04-04 08:45:13 +0200 |
commit | 9aad59c224e6b490dbd9a7b93bd3dee2ad42bae3 (patch) | |
tree | 8171d7b3f0a66139ce44855c664c9bbd5701f96c /crypto/async/arch/async_posix.h | |
parent | Add design document about handing some MAX defines (diff) | |
download | openssl-9aad59c224e6b490dbd9a7b93bd3dee2ad42bae3.tar.xz openssl-9aad59c224e6b490dbd9a7b93bd3dee2ad42bae3.zip |
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.
Note: There's no fallback for POSIX_VERSION 200809 without
these routines, so maybe that should be a #error?
CLA: Trivial
Sponsored by: Netflix
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23885)
Diffstat (limited to '')
-rw-r--r-- | crypto/async/arch/async_posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/async/arch/async_posix.h b/crypto/async/arch/async_posix.h index 603965310d..4b15c23ece 100644 --- a/crypto/async/arch/async_posix.h +++ b/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> |