]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Assume locale.h exists.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Dec 2004 06:56:08 +0000 (06:56 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Dec 2004 06:56:08 +0000 (06:56 +0000)
(HAVE_SETLOCALE): Remove.

src/system.h

index 79ceb7748a80fdf204483cb99185f753427b9740..27aff00d799056e86af29ef261be1d90d7e7a918 100644 (file)
@@ -466,13 +466,9 @@ initialize_exit_failure (int status)
    errors that the cast doesn't.  */
 static inline unsigned char to_uchar (char ch) { return ch; }
 
-/* Take care of NLS matters.  */
+#include <locale.h>
 
-#if HAVE_LOCALE_H
-# include <locale.h>
-#else
-# define setlocale(Category, Locale) /* empty */
-#endif
+/* Take care of NLS matters.  */
 
 #include "gettext.h"
 #if ! ENABLE_NLS
@@ -485,10 +481,6 @@ static inline unsigned char to_uchar (char ch) { return ch; }
 #define _(msgid) gettext (msgid)
 #define N_(msgid) msgid
 
-#ifndef HAVE_SETLOCALE
-# define HAVE_SETLOCALE 0
-#endif
-
 #define STREQ(a, b) (strcmp ((a), (b)) == 0)
 
 #if !HAVE_DECL_FREE