diff --git a/mimedb.c b/mimedb.c index 251ecfc07..09ee17c7f 100644 --- a/mimedb.c +++ b/mimedb.c @@ -135,14 +135,10 @@ static int launch_len=0; */ static int launch_pos=0; -#if HAVE_GETTEXT /** gettext alias */ #define _(string) gettext(string) -#else -#define _(string) (string) -#endif /** Dynamically generated function, made from the documentation in doc_src. @@ -1145,10 +1141,8 @@ static void clear_entry( void *key, void *val ) static void locale_init() { setlocale( LC_ALL, "" ); -#if HAVE_GETTEXT bindtextdomain( PACKAGE_NAME, LOCALEDIR ); textdomain( PACKAGE_NAME ); -#endif } diff --git a/set_color.c b/set_color.c index f65d27640..ab376a9db 100644 --- a/set_color.c +++ b/set_color.c @@ -56,11 +56,7 @@ */ #define GETOPT_STRING "b:hvocu" -#if HAVE_GETTEXT #define _(string) gettext(string) -#else -#define _(string) (string) -#endif char *col[]= { @@ -141,10 +137,8 @@ static void check_locale_init() is_init = 1; setlocale( LC_ALL, "" ); -#if HAVE_GETTEXT bindtextdomain( PACKAGE_NAME, LOCALEDIR ); textdomain( PACKAGE_NAME ); -#endif }