]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/libc/macosx/macosx.factor
libc: Add setlocale and LC_* constants
[factor.git] / basis / libc / macosx / macosx.factor
index ba6dfcf6a015d4a3659e10b5a945a9fc8ba68ad6..5f73c77e08b20df8ebd8ae30806292982261fedf 100644 (file)
@@ -148,3 +148,11 @@ M: macosx strerror
         1024 [ malloc &free ] keep [ strerror_r ] keepd nip
         alien>native-string
     ] with-destructors ;
+
+CONSTANT: LC_ALL      0
+CONSTANT: LC_COLLATE  1
+CONSTANT: LC_CTYPE    2
+CONSTANT: LC_MONETARY 3
+CONSTANT: LC_NUMERIC  4
+CONSTANT: LC_TIME     5
+CONSTANT: LC_MESSAGES 6