summaryrefslogtreecommitdiff
path: root/src/tools.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools.cc')
-rw-r--r--src/tools.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools.cc b/src/tools.cc
index 7f16a0e..4ae5f37 100644
--- a/src/tools.cc
+++ b/src/tools.cc
@@ -418,7 +418,7 @@ std::string get_arch([[maybe_unused]] ctor::output_system system)
{
std::string arch;
// TODO popen on windows
-#if !defined(_WIN32)
+#if !defined(_WIN32) || defined(__MINGW32__)
std::string cmd;
const auto& c = ctor::get_configuration();
switch(system)