From 58afb03f7082b355f2c317c9acb60e48a86d6eec Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 8 Oct 2026 19:22:16 +0000 Subject: Start working on support for compiling on windows using msys2. FossilOrigin-Name: d0b8a592f04b7c438aff01694ef262cef67b71da7625bf7415c1e61ff22d8a63 --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a6ae456..86a12b7 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,11 @@ AS_CASE([$build_mode], ] ) +AS_CASE([$host_os], + [mingw32], [AC_DEFINE([HOST_OS_WINDOWS], [1], [Host operating system is Windows])]) +AS_CASE([$build_os], + [mingw32], [AC_DEFINE([BUILD_OS_WINDOWS], [1], [Host operating system is Windows])]) + AC_CONFIG_FILES([ Makefile ]) -- cgit v1.2.3