]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include gettext.h instead of <libintl.h>.
authorJim Meyering <jim@meyering.net>
Sat, 23 Nov 2002 15:43:13 +0000 (15:43 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 23 Nov 2002 15:43:13 +0000 (15:43 +0000)
lib/userspec.c

index 1d3df6e442c60d5e62682a43819fe520c64866d2..9def456adb7f20b17a6a3bcb64f463c81b77412c 100644 (file)
@@ -68,13 +68,9 @@ char *alloca ();
 #include "xalloc.h"
 #include "xstrtol.h"
 
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#endif
-#define N_(Text) Text
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+#define N_(msgid) msgid
 
 #ifndef _POSIX_VERSION
 struct passwd *getpwnam ();