diff options
Diffstat (limited to 'lib/nls.h')
-rw-r--r-- | lib/nls.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/lib/nls.h b/lib/nls.h deleted file mode 100644 index f54f94dfc..000000000 --- a/lib/nls.h +++ /dev/null @@ -1,34 +0,0 @@ -int main(int argc, char *argv[]); - -#include "../defines.h" /* for HAVE_locale_h */ - -#ifndef PACKAGE -#define PACKAGE "util-linux" -#endif - -#ifndef LOCALEDIR -#define LOCALEDIR "/usr/share/locale" -#endif - -#ifdef HAVE_locale_h -# include <locale.h> -#endif - -#if defined MAY_ENABLE_NLS && !defined DISABLE_NLS -# include <libintl.h> -# define _(Text) gettext (Text) -# ifdef gettext_noop -# define N_(String) gettext_noop (String) -# else -# define N_(String) (String) -# endif -#else -# undef bindtextdomain -# define bindtextdomain(Domain, Directory) /* empty */ -# undef textdomain -# define textdomain(Domain) /* empty */ -# define _(Text) (Text) -# define N_(Text) (Text) -#endif - - |