From 7071ee632c291a2caa1c73ca003d9829ba630a09 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Thu, 29 Aug 2024 22:27:51 +0800 Subject: 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`. --- docs/markdown/Reference-tables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/markdown') 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 -- cgit v1.2.3