2019-04-24 05:01:23 +08:00
|
|
|
diff --git a/Foundation/src/EventLogChannel.cpp b/Foundation/src/EventLogChannel.cpp
|
2021-08-03 07:57:14 +08:00
|
|
|
index 1f51296..c67b71b 100644
|
2019-04-24 05:01:23 +08:00
|
|
|
--- a/Foundation/src/EventLogChannel.cpp
|
|
|
|
+++ b/Foundation/src/EventLogChannel.cpp
|
|
|
|
@@ -11,6 +11,7 @@
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
//
|
|
|
|
|
|
|
|
+#pragma comment(lib,"advapi32.lib")
|
|
|
|
|
|
|
|
#include "Poco/EventLogChannel.h"
|
|
|
|
#include "Poco/Message.h"
|
|
|
|
diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h
|
2022-04-27 10:27:26 +08:00
|
|
|
index 0a222c7..0843315 100644
|
2019-04-24 05:01:23 +08:00
|
|
|
--- a/Foundation/src/utils.h
|
|
|
|
+++ b/Foundation/src/utils.h
|
2021-08-03 07:57:14 +08:00
|
|
|
@@ -91,7 +91,7 @@ int main(int argc, char** argv) {
|
|
|
|
//
|
|
|
|
// If it prints "correct" then the architecture should be here, in the "correct" section.
|
2019-04-24 05:01:23 +08:00
|
|
|
#if defined(_M_X64) || defined(__x86_64__) || \
|
2021-08-03 07:57:14 +08:00
|
|
|
- defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
|
2019-04-24 05:01:23 +08:00
|
|
|
+ defined(__ARMEL__) || defined(_M_ARM) || defined(__arm__) || defined(__arm64__) || defined(_M_ARM64) || \
|
|
|
|
defined(__hppa__) || defined(__ia64__) || \
|
|
|
|
defined(__mips__) || \
|
2021-08-03 07:57:14 +08:00
|
|
|
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
|
2019-04-24 05:01:23 +08:00
|
|
|
diff --git a/Net/src/Net.cpp b/Net/src/Net.cpp
|
2021-08-03 07:57:14 +08:00
|
|
|
index 1a75379..b4081fd 100644
|
2019-04-24 05:01:23 +08:00
|
|
|
--- a/Net/src/Net.cpp
|
|
|
|
+++ b/Net/src/Net.cpp
|
|
|
|
@@ -11,6 +11,7 @@
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
//
|
|
|
|
|
|
|
|
+#pragma comment(lib,"advapi32.lib")
|
|
|
|
|
|
|
|
#include "Poco/Net/Net.h"
|
|
|
|
|
|
|
|
diff --git a/Util/src/WinRegistryKey.cpp b/Util/src/WinRegistryKey.cpp
|
2021-08-03 07:57:14 +08:00
|
|
|
index 7fd1a28..a07c5d2 100644
|
2019-04-24 05:01:23 +08:00
|
|
|
--- a/Util/src/WinRegistryKey.cpp
|
|
|
|
+++ b/Util/src/WinRegistryKey.cpp
|
|
|
|
@@ -11,6 +11,7 @@
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
//
|
|
|
|
|
|
|
|
+#pragma comment(lib,"advapi32.lib")
|
|
|
|
|
|
|
|
#include "Poco/Util/WinRegistryKey.h"
|
|
|
|
#include "Poco/Exception.h"
|