From 2ddd3e299060bdcb56555d4b1529f840c8f10c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Mon, 24 Jun 2019 06:44:36 +0200 Subject: [PATCH] fixes for Windows --- Crypto/include/Poco/Crypto/Crypto.h | 2 +- Foundation/include/Poco/Config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Crypto/include/Poco/Crypto/Crypto.h b/Crypto/include/Poco/Crypto/Crypto.h index a3c91e5c5..e87a25dc5 100644 --- a/Crypto/include/Poco/Crypto/Crypto.h +++ b/Crypto/include/Poco/Crypto/Crypto.h @@ -90,7 +90,7 @@ enum RSAPaddingMode #if !defined(POCO_NO_AUTOMATIC_LIBS) #if defined(POCO_INTERNAL_OPENSSL_MSVC_VER) #if defined(POCO_EXTERNAL_OPENSSL) - #pragma warning "External OpenSSL defined but internal headers used - possible mismatch!" + #pragma message("External OpenSSL defined but internal headers used - possible mismatch!") #endif // POCO_EXTERNAL_OPENSSL #if !defined(_DEBUG) #define POCO_DEBUG_SUFFIX "" diff --git a/Foundation/include/Poco/Config.h b/Foundation/include/Poco/Config.h index cd61396e5..7dbe01823 100644 --- a/Foundation/include/Poco/Config.h +++ b/Foundation/include/Poco/Config.h @@ -192,7 +192,7 @@ // empty or other value: // Do not link any OpenSSL libraries automatically. You will have to edit the // Visual C++ project files for Crypto and NetSSL_OpenSSL. -#define POCO_EXTERNAL_OPENSSL POCO_EXTERNAL_OPENSSL_SLPRO +// #define POCO_EXTERNAL_OPENSSL POCO_EXTERNAL_OPENSSL_SLPRO // Define to prevent changing the suffix for shared libraries