From 9c3cc6a8a51c4c4f01be7149d8522a713df2149a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 29 Dec 2024 10:48:41 +0100 Subject: Enable mingw/gcc build --- src/tools.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools.cc') 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) -- cgit v1.2.3