summaryrefslogtreecommitdiffstats
path: root/mail/mail-notification/files/patch-openssl-threads
blob: 8c935adef6b19c399d2373024c091004c53f78ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- jbsrc/lib/src/extras/jb-openssl.c.orig  2008-04-27 16:47:43.000000000 +0200
+++ jbsrc/lib/src/extras/jb-openssl.c   2008-07-10 22:48:53.000000000 +0200
@@ -91,7 +91,7 @@
   result = jb_test_compile_string("#define OPENSSL_THREAD_DEFINES\n"
                  "#include <openssl/opensslconf.h>\n"
                  "int main () {\n"
-                 "#ifndef OPENSSL_THREADS\n"
+                 "#if !defined(OPENSSL_THREADS) && !defined(THREADS)\n"
                  "#error \"no thread support\"\n"
                  "#endif\n"
                  "}\n",