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:
48e6983
)
(textdomain, bindtextdomain) [! ENABLE_NLS]: Define away,
author
Jim Meyering
<jim@meyering.net>
Mon, 18 Aug 2003 12:09:42 +0000
(12:09 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 18 Aug 2003 12:09:42 +0000
(12:09 +0000)
to avoid warnings from gcc.
src/sys2.h
patch
|
blob
|
history
diff --git
a/src/sys2.h
b/src/sys2.h
index ac37547d7fd5f4bfaf95f6f058be97a14fba817f..79fff1476993dae8507aaec6a7f5c7f55ca2a394 100644
(file)
--- a/
src/sys2.h
+++ b/
src/sys2.h
@@
-336,6
+336,12
@@
#endif
#include "gettext.h"
+#if ! ENABLE_NLS
+# undef textdomain
+# define textdomain(Domainname) /* empty */
+# undef bindtextdomain
+# define bindtextdomain(Domainname, Dirname) /* empty */
+#endif
#define _(msgid) gettext (msgid)
#define N_(msgid) msgid