blob: 0dee8bce65f5180366863fbf9d4b7f1ebe031aee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 292822e16ada9122594ac2c8573633e5a50e63dd Mon Sep 17 00:00:00 2001
From: Gleb Popov <6yearold@gmail.com>
Date: Tue, 24 Oct 2023 22:03:20 +0300
Subject: [PATCH] kcms/region_language: Fix check for GLIBC_LOCALE.
The GLIBC_LOCALE_AUTO is created by the #cmakedefine01 directive and thus is
always defined.
(cherry picked from commit 196966b02bf40a971bdf8888a2fa8ba7db0106f1)
---
config-workspace.h.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config-workspace.h.cmake b/config-workspace.h.cmake
index b696cd8fa5..e05f1c9749 100644
--- a/config-workspace.h.cmake
+++ b/config-workspace.h.cmake
@@ -15,6 +15,6 @@
#cmakedefine01 GLIBC_LOCALE_AUTO
#cmakedefine01 GLIBC_LOCALE_GENERATED
-#if defined(GLIBC_LOCALE_AUTO) || defined(GLIBC_LOCALE_GENERATED)
+#if GLIBC_LOCALE_AUTO == 1 || GLIBC_LOCALE_GENERATED == 1
#define GLIBC_LOCALE
#endif
--
GitLab
|