mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-28 20:55:21 +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
|
@ -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…
Reference in a new issue