projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac63441
)
Include gettext.h instead of <libintl.h>.
author
Jim Meyering
<jim@meyering.net>
Sat, 23 Nov 2002 15:38:42 +0000
(15:38 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 23 Nov 2002 15:38:42 +0000
(15:38 +0000)
lib/makepath.c
patch
|
blob
|
history
diff --git
a/lib/makepath.c
b/lib/makepath.c
index
4f954ba
..
d4eaade
100644
(file)
--- a/
lib/makepath.c
+++ b/
lib/makepath.c
@@
-103,16
+103,8
@@
extern int errno;
/* Include this before libintl.h so we get our definition of PARAMS. */
#include "makepath.h"
-#if HAVE_LOCALE_H
-# include <locale.h>
-#endif
-
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#endif
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
#include "save-cwd.h"
#include "dirname.h"