mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 10:53:23 +00:00
Do not worry about whether locale.h is includable
* src/emacs.c, src/lread.c, src/sysdep.c: Remove preconditions from including locale.h. It was standardized in C89, is universal now, and some code already assumes it.
This commit is contained in:
parent
4a8c8021cc
commit
d2b847d291
3 changed files with 3 additions and 12 deletions
|
@ -4551,9 +4551,7 @@ does the same thing as `current-time'. */)
|
|||
# include <wchar.h>
|
||||
# include <wctype.h>
|
||||
|
||||
# if defined HAVE_NEWLOCALE || defined HAVE_SETLOCALE
|
||||
# include <locale.h>
|
||||
# endif
|
||||
# include <locale.h>
|
||||
# ifndef LC_COLLATE
|
||||
# define LC_COLLATE 0
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue