diff options
author | Richard Levitte <levitte@openssl.org> | 2001-02-20 09:13:47 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-02-20 09:13:47 +0100 |
commit | bc36ee6227517edae802bcb0da68d4f04fe1fb5e (patch) | |
tree | 19782c56cd5f5930807df5c8bfb4963a05121c48 /crypto/threads | |
parent | Fix BN_[pseudo_]rand: 'mask' must be used even if top=-1. (diff) | |
download | openssl-bc36ee6227517edae802bcb0da68d4f04fe1fb5e.tar.xz openssl-bc36ee6227517edae802bcb0da68d4f04fe1fb5e.zip |
Use new-style system-id macros everywhere possible. I hope I haven't
missed any.
This compiles and runs on Linux, and external applications have no
problems with it. The definite test will be to build this on VMS.
Diffstat (limited to 'crypto/threads')
-rw-r--r-- | crypto/threads/mttest.c | 6 | ||||
-rw-r--r-- | crypto/threads/th-lock.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/crypto/threads/mttest.c b/crypto/threads/mttest.c index 3d47e97545..7142e4edc7 100644 --- a/crypto/threads/mttest.c +++ b/crypto/threads/mttest.c @@ -63,7 +63,7 @@ #ifdef LINUX #include <typedefs.h> #endif -#ifdef WIN32 +#ifdef OPENSSL_SYS_WIN32 #include <windows.h> #endif #ifdef SOLARIS @@ -691,7 +691,7 @@ int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx) #define THREAD_STACK_SIZE (16*1024) -#ifdef WIN32 +#ifdef OPENSSL_SYS_WIN32 static HANDLE *lock_cs; @@ -782,7 +782,7 @@ void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) printf("win32 threads done - %.3f seconds\n",ret); } -#endif /* WIN32 */ +#endif /* OPENSSL_SYS_WIN32 */ #ifdef SOLARIS diff --git a/crypto/threads/th-lock.c b/crypto/threads/th-lock.c index 553d2218de..a6a79b9f45 100644 --- a/crypto/threads/th-lock.c +++ b/crypto/threads/th-lock.c @@ -63,7 +63,7 @@ #ifdef LINUX #include <typedefs.h> #endif -#ifdef WIN32 +#ifdef OPENSSL_SYS_WIN32 #include <windows.h> #endif #ifdef SOLARIS @@ -105,7 +105,7 @@ static unsigned long pthreads_thread_id(void ); #define THREAD_STACK_SIZE (16*1024) -#ifdef WIN32 +#ifdef OPENSSL_SYS_WIN32 static HANDLE *lock_cs; @@ -146,7 +146,7 @@ void win32_locking_callback(int mode, int type, char *file, int line) } } -#endif /* WIN32 */ +#endif /* OPENSSL_SYS_WIN32 */ #ifdef SOLARIS |