aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_gpg_info
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-19 02:31:07 +0000
committersaturneric <[email protected]>2025-04-19 02:31:07 +0000
commite348231f935e925c3ea2d7077ca7abefd106dac0 (patch)
tree88fdcfdb7e2bdc69dc39a39bfb1571d17ef2ee62 /src/m_gpg_info
parentfix: crash due to memory bad access (diff)
downloadModules-main.tar.gz
Modules-main.zip
chore: upgrade to v2.1.8HEADmain
Diffstat (limited to 'src/m_gpg_info')
-rw-r--r--src/m_gpg_info/GnuPGInfoGatheringModule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m_gpg_info/GnuPGInfoGatheringModule.cpp b/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
index 99972de..2b4de05 100644
--- a/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
+++ b/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
@@ -306,7 +306,7 @@ void GetGpgComponentInfos(void *data, int exit_code, const char *out,
auto component_desc = info_split_list[1].trimmed();
auto component_path = info_split_list[2].trimmed();
-#ifdef __MINGW32__
+#if defined(_WIN32) || defined(WIN32)
// replace some special substrings on windows
// platform
component_path.replace("%3a", ":");
@@ -382,7 +382,7 @@ void GetGpgDirectoryInfos(void *, int exit_code, const char *out,
auto configuration_name = info_split_list[0].trimmed();
auto configuration_value = info_split_list[1].trimmed();
-#ifdef __MINGW32__
+#if defined(_WIN32) || defined(WIN32)
// replace some special substrings on windows
// platform
configuration_value.replace("%3a", ":");