mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
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
This commit is contained in:
parent
9b8db66402
commit
a8fe2d331b
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue