diff options
| author | peter <peter@pmikkelsen.com> | 2026-10-08 20:06:01 +0000 |
|---|---|---|
| committer | peter <peter@pmikkelsen.com> | 2026-10-08 20:06:01 +0000 |
| commit | ac434acebb3c01977ad6a7d2ad7507c9909802e0 (patch) | |
| tree | 9d7910cd230ff585ee3c3a474e88f32307536680 /configure.ac | |
| parent | 58afb03f7082b355f2c317c9acb60e48a86d6eec (diff) | |
More work to support building on windows.windows-msys2-support
Right now, the build fails completely, because src/bin/main.c uses some unix specific functionalities. Next up is implementing them in the os/* files, but that won't be today.
FossilOrigin-Name: 91ed737388525736696714b585eb50b423789aab5c1a245fe9269d52be10c8c2
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 86a12b7..ba10bb0 100644 --- a/configure.ac +++ b/configure.ac @@ -35,9 +35,13 @@ AS_CASE([$build_mode], ) AS_CASE([$host_os], - [mingw32], [AC_DEFINE([HOST_OS_WINDOWS], [1], [Host operating system is Windows])]) + [mingw32], [AC_DEFINE([HOST_OS_WINDOWS], [1], [Host operating system is Windows])], + [cygwin], [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])]) + [mingw32], [AC_DEFINE([BUILD_OS_WINDOWS], [1], [Host operating system is Windows])], + [cygwin], [AC_DEFINE([BUILD_OS_WINDOWS], [1], [Host operating system is Windows])] + ) AC_CONFIG_FILES([ Makefile |