diff options
author | Saturneric <[email protected]> | 2021-12-02 22:44:09 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-04 19:28:28 +0000 |
commit | ea7c0113486f336f3fe14435e1ce5eb55ad4eca9 (patch) | |
tree | 8f1c5c61be4d55df5e7efad79e16f9c0212510db /src/GpgFrontend.h.in | |
parent | Fixed (diff) | |
download | GpgFrontend-ea7c0113486f336f3fe14435e1ce5eb55ad4eca9.tar.gz GpgFrontend-ea7c0113486f336f3fe14435e1ce5eb55ad4eca9.zip |
Fixed
1. Ci Fixed for New Version.
2. Bugs fixed for cross-platform.
3. Bugs fixed for i18n.
Diffstat (limited to 'src/GpgFrontend.h.in')
-rw-r--r-- | src/GpgFrontend.h.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/GpgFrontend.h.in b/src/GpgFrontend.h.in index 1814ddbc..622c2b07 100644 --- a/src/GpgFrontend.h.in +++ b/src/GpgFrontend.h.in @@ -26,12 +26,23 @@ #define GPGFRONTEND_H_IN // i18n +#ifdef WINDOWS +#include <winsock2.h> +#include <windows.h> +#endif + #include <libintl.h> #define _(String) gettext (String) #define gettext_noop(String) String #define N_(String) gettext_noop (String) +#ifdef WINDOWS +#include <clocale> +#undef vsnprintf +#endif + // logging +#define ELPP_DEFAULT_LOGGING_FLAGS 8192 #include <easyloggingpp/easylogging++.h> #define PROJECT_NAME "@CMAKE_PROJECT_NAME@" |