Utilities/Release/linux/x86_64/deps/openssl-source.patch
raw| 1 | # enable pthread APIs disabled by our _POSIX_SOURCE definitions |
| 2 | --- openssl-source/crypto/threads_pthread.c.orig |
| 3 | +++ openssl-source/crypto/threads_pthread.c |
| 4 | @@ -6,6 +6,8 @@ |
| 5 | * in the file LICENSE in the source distribution or at |
| 6 | * https://www.openssl.org/source/license.html |
| 7 | */ |
| 8 | +#undef _POSIX_C_SOURCE |
| 9 | +#undef _POSIX_SOURCE |
| 10 | |
| 11 | /* We need to use the OPENSSL_fork_*() deprecated APIs */ |
| 12 | #define OPENSSL_SUPPRESS_DEPRECATED |