From e32b9c8c86d4fbd1c2b893e0a62abe1c8a5b476d Mon Sep 17 00:00:00 2001 From: Saturneric Date: Mon, 7 Feb 2022 20:59:17 +0800 Subject: [PATCH] (core): Make it possible to compile on Windows --- src/core/GpgFrontendCore.h | 2 ++ src/ui/GpgFrontendUI.h | 2 -- 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 // libconfig includes +#undef LIBCONFIGXX_STATIC +#define LIBCONFIGXX_STATIC #include #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 #ifdef SMTP_SUPPORT