aboutsummaryrefslogtreecommitdiff
path: root/intl.h
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>1998-08-10 20:48:01 +0000
committerPhil Blundell <philb@gnu.org>1998-08-10 20:48:01 +0000
commit979144702297a301a79a5190d43d47b2fe345696 (patch)
treeeaa612eb22168c5827861c630c91695dcd790719 /intl.h
parentFix uninitialised variable (was causing problems on SPARC apparently) (diff)
downloadnet-tools-979144702297a301a79a5190d43d47b2fe345696.tar.gz
net-tools-979144702297a301a79a5190d43d47b2fe345696.tar.bz2
net-tools-979144702297a301a79a5190d43d47b2fe345696.zip
Replace outdated NLS support with GNU gettext (patch from
Arnaldo Carvalho de Melo <acme@conectiva.com.br>). This touches virtually every file but the changes are fairly superficial. Please check I haven't broken your favourite AF/hardware type during the conversion.
Diffstat (limited to 'intl.h')
-rw-r--r--intl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/intl.h b/intl.h
new file mode 100644
index 0000000..13396f3
--- /dev/null
+++ b/intl.h
@@ -0,0 +1,11 @@
+/* Dummy header for libintl.h */
+
+#if I18N
+#undef __OPTIMIZE__
+#include <libintl.h>
+#define _(String) gettext((String))
+#define N_(String) (String)
+#else
+#define _(String) (String)
+#define N_(String) (String)
+#endif