]> gitweb.factorcode.org Git - factor.git/commitdiff
system-info.macosx: adding codename for macOS Monterey.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 25 Oct 2021 20:07:40 +0000 (13:07 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 25 Oct 2021 20:08:04 +0000 (13:08 -0700)
basis/system-info/macosx/macosx.factor

index e7e919d93031b5b481b74ea5158216daff28c23c..3f5591eb78e4995e74be3862cecd6fb8c0c3e762 100644 (file)
@@ -23,6 +23,7 @@ FUNCTION: OSErr Gestalt ( OSType selector, SInt32* response )
 : system-version-bugfix ( -- n ) "sys3" be> gestalt ;
 
 CONSTANT: system-code-names H{
+    { { 12 0 } "Monterey" }
     { { 11 0 } "Big Sur" }
     { { 10 16 } "Big Sur" }
     { { 10 15 } "Catalina" }
@@ -105,4 +106,4 @@ M: macosx physical-mem { 6 24 } sysctl-query-ulonglong ;
 : available-cpus ( -- n ) { 6 25 } sysctl-query-uint ;
 
 M: macosx computer-name { 1 10 } sysctl-query-string "." split1 drop ;
-M: macosx username real-user-name ;
\ No newline at end of file
+M: macosx username real-user-name ;