summaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorLIU Hao <lh_mouse@126.com>2024-08-29 22:27:51 +0800
committerJussi Pakkanen <jpakkane@gmail.com>2024-09-04 23:09:17 +0300
commit7071ee632c291a2caa1c73ca003d9829ba630a09 (patch)
treed47d7f3ef359dd313e3d38b2aaf4bbac1c8626f1 /docs/markdown
parent05347536628bfe85ab51b41a19d1b70a742d3bd1 (diff)
downloadmeson-7071ee632c291a2caa1c73ca003d9829ba630a09.tar.gz
docs: Update descriptions of `host_machine.system()` about Windows
There are two environments on Windows: * When invoked in a Cygwin or MSYS2 MSYS shell, `host_machine.system()` returns `cygwin`. * When invoked in a MSYS2 MINGW32/MINGW64/UCRT64/CLANG64/etc., `host_machine.system()` returns `windows`.
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Reference-tables.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md
index 67eccb4a2..7e0d6cffc 100644
--- a/docs/markdown/Reference-tables.md
+++ b/docs/markdown/Reference-tables.md
@@ -155,7 +155,7 @@ These are provided by the `.system()` method call.
| Value | Comment |
| ----- | ------- |
| android | By convention only, subject to change |
-| cygwin | The Cygwin environment for Windows |
+| cygwin | Cygwin or MSYS2 environment on Windows |
| darwin | Either OSX or iOS |
| dragonfly | DragonFly BSD |
| emscripten | Emscripten's JavaScript environment |
@@ -165,7 +165,7 @@ These are provided by the `.system()` method call.
| linux | |
| netbsd | |
| openbsd | |
-| windows | Any version of Windows |
+| windows | Native Windows (not Cygwin or MSYS2) |
| sunos | illumos and Solaris |
Any string not listed above is not guaranteed to remain stable in