summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/threads
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/threads')
-rw-r--r--src/lib/libcrypto/threads/mttest.c8
-rw-r--r--src/lib/libcrypto/threads/th-lock.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/threads/mttest.c b/src/lib/libcrypto/threads/mttest.c
index 019add4d9c..c474a63c74 100644
--- a/src/lib/libcrypto/threads/mttest.c
+++ b/src/lib/libcrypto/threads/mttest.c
@@ -63,7 +63,7 @@
63#ifdef LINUX 63#ifdef LINUX
64#include <typedefs.h> 64#include <typedefs.h>
65#endif 65#endif
66#ifdef WIN32 66#ifdef OPENSSL_SYS_WIN32
67#include <windows.h> 67#include <windows.h>
68#endif 68#endif
69#ifdef SOLARIS 69#ifdef SOLARIS
@@ -86,7 +86,7 @@
86#include <openssl/err.h> 86#include <openssl/err.h>
87#include <openssl/rand.h> 87#include <openssl/rand.h>
88 88
89#ifdef NO_FP_API 89#ifdef OPENSSL_NO_FP_API
90#define APPS_WIN16 90#define APPS_WIN16
91#include "../buffer/bss_file.c" 91#include "../buffer/bss_file.c"
92#endif 92#endif
@@ -692,7 +692,7 @@ int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx)
692 692
693#define THREAD_STACK_SIZE (16*1024) 693#define THREAD_STACK_SIZE (16*1024)
694 694
695#ifdef WIN32 695#ifdef OPENSSL_SYS_WIN32
696 696
697static HANDLE *lock_cs; 697static HANDLE *lock_cs;
698 698
@@ -783,7 +783,7 @@ void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
783 printf("win32 threads done - %.3f seconds\n",ret); 783 printf("win32 threads done - %.3f seconds\n",ret);
784 } 784 }
785 785
786#endif /* WIN32 */ 786#endif /* OPENSSL_SYS_WIN32 */
787 787
788#ifdef SOLARIS 788#ifdef SOLARIS
789 789
diff --git a/src/lib/libcrypto/threads/th-lock.c b/src/lib/libcrypto/threads/th-lock.c
index 553d2218de..a6a79b9f45 100644
--- a/src/lib/libcrypto/threads/th-lock.c
+++ b/src/lib/libcrypto/threads/th-lock.c
@@ -63,7 +63,7 @@
63#ifdef LINUX 63#ifdef LINUX
64#include <typedefs.h> 64#include <typedefs.h>
65#endif 65#endif
66#ifdef WIN32 66#ifdef OPENSSL_SYS_WIN32
67#include <windows.h> 67#include <windows.h>
68#endif 68#endif
69#ifdef SOLARIS 69#ifdef SOLARIS
@@ -105,7 +105,7 @@ static unsigned long pthreads_thread_id(void );
105 105
106#define THREAD_STACK_SIZE (16*1024) 106#define THREAD_STACK_SIZE (16*1024)
107 107
108#ifdef WIN32 108#ifdef OPENSSL_SYS_WIN32
109 109
110static HANDLE *lock_cs; 110static HANDLE *lock_cs;
111 111
@@ -146,7 +146,7 @@ void win32_locking_callback(int mode, int type, char *file, int line)
146 } 146 }
147 } 147 }
148 148
149#endif /* WIN32 */ 149#endif /* OPENSSL_SYS_WIN32 */
150 150
151#ifdef SOLARIS 151#ifdef SOLARIS
152 152