mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08: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. 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)
This commit is contained in:
parent
de8e79e064
commit
9aad59c224
@ -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…
x
Reference in New Issue
Block a user