aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-02-07 12:59:17 +0000
committerSaturneric <[email protected]>2022-02-07 12:59:17 +0000
commite32b9c8c86d4fbd1c2b893e0a62abe1c8a5b476d (patch)
tree8a2a2a53b9c81ba81553f527b0da1a2476c8f3a1
parent<fix>(ui): Adapt some settings transferred to the data object (diff)
downloadGpgFrontend-e32b9c8c86d4fbd1c2b893e0a62abe1c8a5b476d.tar.gz
GpgFrontend-e32b9c8c86d4fbd1c2b893e0a62abe1c8a5b476d.zip
<fix>(core): Make it possible to compile on Windows
Diffstat (limited to '')
-rw-r--r--src/core/GpgFrontendCore.h2
-rw-r--r--src/ui/GpgFrontendUI.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/GpgFrontendCore.h b/src/core/GpgFrontendCore.h
index e4fe7a10..27738f7b 100644
--- a/src/core/GpgFrontendCore.h
+++ b/src/core/GpgFrontendCore.h
@@ -46,6 +46,8 @@
#include <vmime/vmime.hpp>
// libconfig includes
+#undef LIBCONFIGXX_STATIC
+#define LIBCONFIGXX_STATIC
#include <libconfig.h++>
#include "core/GpgModel.h"
diff --git a/src/ui/GpgFrontendUI.h b/src/ui/GpgFrontendUI.h
index cfe9a8c5..ab6e9366 100644
--- a/src/ui/GpgFrontendUI.h
+++ b/src/ui/GpgFrontendUI.h
@@ -49,8 +49,6 @@
* 3rd party dependencies
*/
-#undef LIBCONFIGXX_STATIC
-#define LIBCONFIGXX_STATIC
#include <qt-aes/qaesencryption.h>
#ifdef SMTP_SUPPORT