mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Add guard for producing PocoDoc without error on a non Windows platform
This commit is contained in:
parent
cb3c31b4c6
commit
4079cdcdc8
@ -19,12 +19,14 @@
|
||||
|
||||
|
||||
#include "Poco/Net/NetSSL.h"
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include <windows.h>
|
||||
#include <wincrypt.h>
|
||||
#ifndef SECURITY_WIN32
|
||||
#define SECURITY_WIN32
|
||||
#endif
|
||||
#include <sspi.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "Poco/AutoPtr.h"
|
||||
#include "Poco/Mutex.h"
|
||||
#include <vector>
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include <windows.h>
|
||||
#include <wincrypt.h>
|
||||
#include <schannel.h>
|
||||
@ -32,6 +33,7 @@
|
||||
#endif
|
||||
#include <security.h>
|
||||
#include <sspi.h>
|
||||
#endif
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "Poco/Util/AbstractConfiguration.h"
|
||||
#include "Poco/BasicEvent.h"
|
||||
#include "Poco/SharedPtr.h"
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include <wincrypt.h>
|
||||
#include <schannel.h>
|
||||
#ifndef SECURITY_WIN32
|
||||
@ -34,6 +35,7 @@
|
||||
#endif
|
||||
#include <security.h>
|
||||
#include <sspi.h>
|
||||
#endif
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
@ -22,7 +22,9 @@
|
||||
#include "Poco/DateTime.h"
|
||||
#include <set>
|
||||
#include <istream>
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include <wincrypt.h>
|
||||
#endif
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
Loading…
Reference in New Issue
Block a user