Skip to content

Commit 057d117

Browse files
committed
Porting: Update triplets for MSYS
1 parent 7fdc2df commit 057d117

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

web/wiki/Porting.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ Identifier | Platform(s) | Usage
3434
`__MINGW64__` | 64-bit mingw | C code (`#ifdef ...`)
3535
`__CYGWIN__` | msys2, cygwin | C code (`#ifdef ...`)
3636
`__MSYS__` | msys2 | C code (`#ifdef ...`)
37-
`x86_64-pc-msys2` | 64-bit msys2 | Build scripts (`if [ $host = '...' ]`)
38-
`i686-pc-msys2` | 32-bit msys2 | Build scripts (`if [ $host = '...' ]`)
37+
`x86_64-pc-msys` | 64-bit msys2 (old style) | Build scripts (`if [ $host = '...' ]`)
38+
`i686-pc-msys` | 32-bit msys2 (old style) | Build scripts (`if [ $host = '...' ]`)
39+
`x86_64-pc-cygwin` | 64-bit msys2 (new style) | Build scripts (`if [ $host = '...' ]`)
40+
`i686-pc-cygwin` | 32-bit msys2 (new style) | Build scripts (`if [ $host = '...' ]`)
3941
`x86_64-w64-mingw32` | 64-bit mingw | Build scripts (`if [ $host = '...' ]`)
4042
`i686-w64-mingw32` | 32-bit mingw | Build scripts (`if [ $host = '...' ]`)
4143
`cygwin` | msys2 | Python (`sys.platform`)

0 commit comments

Comments
 (0)