summaryrefslogtreecommitdiff
path: root/xpcom/build/XPCOMInit.cpp
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-22 19:03:00 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-22 19:03:00 -0500
commit81f1d9b545cb7c3943c982b2b3f10f62ec0ea40e (patch)
tree47e775a19e4ac23d4e70970fc24dec619cbfd110 /xpcom/build/XPCOMInit.cpp
parent26494daab475b3cf0304ae74b9ca2c407091c7c6 (diff)
downloaduxp-81f1d9b545cb7c3943c982b2b3f10f62ec0ea40e.tar.gz
Issue mcp-graveyard/UXP#1053 - Remove android support from XPCOM
Diffstat (limited to 'xpcom/build/XPCOMInit.cpp')
-rw-r--r--xpcom/build/XPCOMInit.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/xpcom/build/XPCOMInit.cpp b/xpcom/build/XPCOMInit.cpp
index b89f51a98a..bb639248c0 100644
--- a/xpcom/build/XPCOMInit.cpp
+++ b/xpcom/build/XPCOMInit.cpp
@@ -569,13 +569,11 @@ NS_InitXPCOM2(nsIServiceManager** aResult,
return rv;
}
-#ifndef ANDROID
// If the locale hasn't already been setup by our embedder,
// get us out of the "C" locale and into the system
if (strcmp(setlocale(LC_ALL, nullptr), "C") == 0) {
setlocale(LC_ALL, "");
}
-#endif
#if defined(XP_UNIX)
NS_StartupNativeCharsetUtils();