]> git.eshelyaron.com Git - emacs.git/commitdiff
Don’t define LC_COLLATE, LC_CTYPE
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 Jun 2024 23:58:42 +0000 (00:58 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 1 Jul 2024 07:49:35 +0000 (09:49 +0200)
* src/sysdep.c (LC_COLLATE, LC_CTYPE): Remove unnecessary
macro defns.  They’re always available.

(cherry picked from commit 47ce6ed522d970342366b2d7f6a930576b92879d)

src/sysdep.c

index 089fc74deb804630aae96e484db10be920c496f5..d916a695155af2f8f392c589fd2c377168022f91 100644 (file)
@@ -4552,15 +4552,9 @@ does the same thing as `current-time'.  */)
 # include <wctype.h>
 
 # include <locale.h>
-# ifndef LC_COLLATE
-#  define LC_COLLATE 0
-# endif
 # ifndef LC_COLLATE_MASK
 #  define LC_COLLATE_MASK 0
 # endif
-# ifndef LC_CTYPE
-#  define LC_CTYPE 0
-# endif
 # ifndef LC_CTYPE_MASK
 #  define LC_CTYPE_MASK 0
 # endif