diff options
author | Phil Blundell <philb@gnu.org> | 1998-08-10 20:48:01 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 1998-08-10 20:48:01 +0000 |
commit | 979144702297a301a79a5190d43d47b2fe345696 (patch) | |
tree | eaa612eb22168c5827861c630c91695dcd790719 /intl.h | |
parent | Fix uninitialised variable (was causing problems on SPARC apparently) (diff) | |
download | net-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.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |