Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Release/linux/aarch64/deps/openssl-source.patch
3158 views
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
#include <openssl/crypto.h>
12
#include "internal/cryptlib.h"
13
14