It accesses values through macros, so just write functions that fetch the appropriate value from Haiku's structures. Note that the values for multibyte digit characters are hardcoded. As far as I can tell, we never set or updated these in glibc's locale structures, so it always just used the default, so this should not be a behavioral change from before.