mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-30 22:31:29 +01:00
add external openssl guard
This commit is contained in:
parent
50ae257a52
commit
c5960a6745
@ -123,7 +123,7 @@ inline void OpenSSLInitializer::disableSSLInitialization()
|
||||
|
||||
|
||||
// needed for OpenSSL static link
|
||||
#if defined(_WIN32) && !defined(POCO_DLL) && (POCO_MSVS_VERSION >= 2015)
|
||||
#if defined(_WIN32) && !defined(POCO_DLL) && (POCO_MSVS_VERSION >= 2015) && !defined(POCO_EXTERNAL_OPENSSL)
|
||||
extern "C" FILE * __cdecl __iob_func(void);
|
||||
#endif
|
||||
|
||||
|
@ -186,7 +186,7 @@ void uninitializeCrypto()
|
||||
} } // namespace Poco::Crypto
|
||||
|
||||
// needed for OpenSSL static link
|
||||
#if defined(_WIN32) && !defined(POCO_DLL) && (POCO_MSVS_VERSION >= 2015)
|
||||
#if defined(_WIN32) && !defined(POCO_DLL) && (POCO_MSVS_VERSION >= 2015) && !defined(POCO_EXTERNAL_OPENSSL)
|
||||
FILE * __cdecl __iob_func(void)
|
||||
{
|
||||
static FILE poco_iob[] = { stdin, stdout, stderr };
|
||||
|
Loading…
x
Reference in New Issue
Block a user