diff options
author | Max Kellermann <max@duempel.org> | 2008-10-02 17:48:00 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-02 17:48:00 +0200 |
commit | 994ffdbde3b12429578a33dcf18204b9d813311f (patch) | |
tree | 1b6412bd29fd87cd5c05b46d05a5e3d25af48feb /src/ncmpc.h | |
parent | 4522707accad358bd3098a6b1dd6966da5564610 (diff) | |
download | mpd-994ffdbde3b12429578a33dcf18204b9d813311f.tar.gz mpd-994ffdbde3b12429578a33dcf18204b9d813311f.tar.xz mpd-994ffdbde3b12429578a33dcf18204b9d813311f.zip |
moved i18n macros to i18n.h
Don't make everybody include ncmpc.h just to have generic features.
Move generic i18n macros to a separate header.
Diffstat (limited to 'src/ncmpc.h')
-rw-r--r-- | src/ncmpc.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/ncmpc.h b/src/ncmpc.h index e7da71778..a1cd9f9fd 100644 --- a/src/ncmpc.h +++ b/src/ncmpc.h @@ -1,25 +1,6 @@ #ifndef NCMPC_H #define NCMPC_H -#ifndef PACKAGE -#include "config.h" -#endif - -/* i18n */ -#ifdef HAVE_LOCALE_H -#include <locale.h> -#endif -#ifdef ENABLE_NLS -#include <libintl.h> -#include <glib/gi18n.h> -#else -#define _(x) x -#define N_(x) x -#endif - -#define YES _("y") -#define NO _("n") - /* welcome message time [s] */ #define SCREEN_WELCOME_TIME 10 |