diff options
author | Saturneric <[email protected]> | 2022-01-03 22:16:33 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-03 22:16:33 +0000 |
commit | 327b5bf767f27dd0b000b18708b29425bb52dc52 (patch) | |
tree | fd834eef3ea1c2986eb12c8d75f9f3f61af0751d | |
parent | <fix, feature>(core, ui): version system upgrade. (diff) | |
download | GpgFrontend-327b5bf767f27dd0b000b18708b29425bb52dc52.tar.gz GpgFrontend-327b5bf767f27dd0b000b18708b29425bb52dc52.zip |
<fix>(core): fix windows build problem
1.fix libintl_sprintf bugs.
-rw-r--r-- | src/GpgFrontend.h.in | 1 | ||||
-rw-r--r-- | src/gpg/result_analyse/DecryptResultAnalyse.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/GpgFrontend.h.in b/src/GpgFrontend.h.in index 622c2b07..497db495 100644 --- a/src/GpgFrontend.h.in +++ b/src/GpgFrontend.h.in @@ -39,6 +39,7 @@ #ifdef WINDOWS #include <clocale> #undef vsnprintf +#undef sprintf #endif // logging diff --git a/src/gpg/result_analyse/DecryptResultAnalyse.cpp b/src/gpg/result_analyse/DecryptResultAnalyse.cpp index 9a2ade34..f2e9f947 100644 --- a/src/gpg/result_analyse/DecryptResultAnalyse.cpp +++ b/src/gpg/result_analyse/DecryptResultAnalyse.cpp @@ -24,8 +24,6 @@ #include "gpg/result_analyse/DecryptResultAnalyse.h" -#include <utility> - #include "gpg/function/GpgKeyGetter.h" GpgFrontend::DecryptResultAnalyse::DecryptResultAnalyse(GpgError m_error, |