posix_async: FreeBSD also defines {make|swap|get|set}context
authorWarner Losh <imp@bsdimp.com>
Mon, 18 Mar 2024 18:23:08 +0000 (12:23 -0600)
committerTomas Mraz <tomas@openssl.org>
Thu, 4 Apr 2024 06:45:13 +0000 (08:45 +0200)
commit9aad59c224e6b490dbd9a7b93bd3dee2ad42bae3
tree8171d7b3f0a66139ce44855c664c9bbd5701f96c
parentde8e79e06436d8d0b48c785e24c5d07e0ba641e3
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)
crypto/async/arch/async_posix.h