Index: runtime/bin/platform_fuchsia.cc |
diff --git a/runtime/bin/platform_fuchsia.cc b/runtime/bin/platform_fuchsia.cc |
index 3b1a1c190ce24895426e7bba7940fa23ebc5f37d..69c75ce5d4094bcb32942f7e70ab51018853a71f 100644 |
--- a/runtime/bin/platform_fuchsia.cc |
+++ b/runtime/bin/platform_fuchsia.cc |
@@ -47,6 +47,11 @@ const char* Platform::LibraryExtension() { |
} |
+const char* Platform::LocaleName() { |
+ return getenv("LANG"); |
+} |
+ |
+ |
bool Platform::LocalHostname(char* buffer, intptr_t buffer_length) { |
return gethostname(buffer, buffer_length) == 0; |
} |