q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4b223b9720244b605167c79acc957674ad0e4e71

commit 4b223b9720244b605167c79acc957674ad0e4e71
Author: Daniel Kolesa <[email protected]>
Date:   Thu Jun 11 02:32:07 2020 +0200

    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.
---
 src/modules/ecore/system/systemd/ecore_system_systemd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);

-- 


Reply via email to