diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2025-08-18 13:56:44 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2025-08-18 13:56:44 (GMT) |
| commit | b166c166e76a0d2ec5d49f94b6fba90385eabab2 (patch) | |
| tree | 47ec4662891aecd91ad52c6985f1d2a36ddff154 | |
| parent | f963e962594b9a669b77981bae65fa865eca2934 (diff) | |
| download | tcl-b166c166e76a0d2ec5d49f94b6fba90385eabab2.zip tcl-b166c166e76a0d2ec5d49f94b6fba90385eabab2.tar.gz tcl-b166c166e76a0d2ec5d49f94b6fba90385eabab2.tar.bz2 | |
Assume that - one day - MacOS 26.5 will be there
| -rw-r--r-- | library/platform/platform.tcl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/library/platform/platform.tcl b/library/platform/platform.tcl index b142ed1..8e97b94 100644 --- a/library/platform/platform.tcl +++ b/library/platform/platform.tcl @@ -366,6 +366,17 @@ proc ::platform::patterns {id} { foreach {major minor} [split $v .] break set res {} + if {$major gt 26} { + # Add x.0 to x.minor to patterns. + for {set j $minor} {$j >= 0} {incr j -1} { + lappend res macosx${major}.${j}-${cpu} + foreach a $alt { + lappend res macosx${major}.${j}-$a + } + } + incr major -1 + set minor 5; # Assume that (major-1).5 will be there one day. + } if {$major eq 26} { # Add 26.0 to 26.minor to patterns. for {set j $minor} {$j >= 0} {incr j -1} { |
