summaryrefslogtreecommitdiff
path: root/src/tools.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2024-12-29 10:48:41 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2024-12-29 19:04:26 +0100
commit9c3cc6a8a51c4c4f01be7149d8522a713df2149a (patch)
tree434e403a7db672660bf192280d5b7a91cecf5039 /src/tools.cc
parent15e2bd35a8da320f074942e814885f3d6eaf0706 (diff)
Enable mingw/gcc buildmingw
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)