diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2020-06-11 02:32:07 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2020-06-11 02:32:07 +0200 |
commit | 4b223b9720244b605167c79acc957674ad0e4e71 (patch) | |
tree | 04325c9e5db9a59ccc313f612694fe2383e2df52 | |
parent | e557869765f04509f3d6b5fc5c04710cf2568a27 (diff) | |
download | efl-4b223b9720244b605167c79acc957674ad0e4e71.tar.gz |
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.
-rw-r--r-- | src/modules/ecore/system/systemd/ecore_system_systemd.c | 2 |
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, setenv(type, value, 1); } - setlocale(__LC_ALL, ""); + setlocale(LC_ALL, ""); end: ecore_event_add(ECORE_EVENT_LOCALE_CHANGED, NULL, NULL, NULL); |