summaryrefslogtreecommitdiff
path: root/src/modules/ecore
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2020-06-11 02:32:07 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2020-06-11 02:32:07 +0200
commit4b223b9720244b605167c79acc957674ad0e4e71 (patch)
tree04325c9e5db9a59ccc313f612694fe2383e2df52 /src/modules/ecore
parente557869765f04509f3d6b5fc5c04710cf2568a27 (diff)
ecore: use standard LC_ALL instead of __LC_ALL in systemd module
The former is a POSIX name, the latter is non-standard. I don't know why the latter was used, considering glibc literally has just #define LC_ALL __LC_ALL, but change it and unbreak build on musl and other systems.
Diffstat (limited to 'src/modules/ecore')
-rw-r--r--src/modules/ecore/system/systemd/ecore_system_systemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ecore/system/systemd/ecore_system_systemd.c b/src/modules/ecore/system/systemd/ecore_system_systemd.c
index 78e3185287..ab19ff36cd 100644
--- a/src/modules/ecore/system/systemd/ecore_system_systemd.c
+++ b/src/modules/ecore/system/systemd/ecore_system_systemd.c
@@ -163,7 +163,7 @@ static void _locale_get(void *data EINA_UNUSED, const Eldbus_Message *msg,
163 163
164 setenv(type, value, 1); 164 setenv(type, value, 1);
165 } 165 }
166 setlocale(__LC_ALL, ""); 166 setlocale(LC_ALL, "");
167 167
168 end: 168 end:
169 ecore_event_add(ECORE_EVENT_LOCALE_CHANGED, NULL, NULL, NULL); 169 ecore_event_add(ECORE_EVENT_LOCALE_CHANGED, NULL, NULL, NULL);