diff options
author | Richard Levitte <levitte@openssl.org> | 2000-12-31 00:23:17 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-12-31 00:23:17 +0000 |
commit | 26da3e65ac3ecf05c7567b0c62ee515814babf31 (patch) | |
tree | 3557bc2dd75f54f1727dc8bf7a2d96b1166e4cbf /ssl/ssl_locl.h | |
parent | 21cd437886f448858e166c149f40604dfe6b7b7c (diff) |
If OPENSSL_BUILD_SHLIBCRYPTO (for files that end up as libcrypto
objects) or OPENSSL_BUILD_SHLIBSSL (for files that end up as libssl
objects) is defined, redefine OPENSSL_EXTERN to be OPENSSL_EXPORT.
This is actually only important on Win32, and can safely be ignored in
all other cases, at least for now.
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 01ff01d818..58bcd1b7ed 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -128,6 +128,11 @@ #include <openssl/err.h> #include <openssl/ssl.h> +#ifdef OPENSSL_BUILD_SHLIBSSL +# undef OPENSSL_EXTERN +# define OPENSSL_EXTERN OPENSSL_EXPORT +#endif + #define PKCS1_CHECK #define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ |