X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Frrd_i18n.h;h=763c67a677a82ede707f47d143c8e19a9964f224;hb=fd248121a4d1324289fcb6d0429613c6708cd559;hp=bb777ee45cdd22e29d75a207f2d567dc477ae606;hpb=be3cca08c4031f46d4e2b872ab0eb825c5b69b4e;p=pkg-rrdtool.git diff --git a/src/rrd_i18n.h b/src/rrd_i18n.h index bb777ee..763c67a 100644 --- a/src/rrd_i18n.h +++ b/src/rrd_i18n.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.3.5 Copyright by Takao Fujiwara, 2008 + * RRDtool 1.4.3 Copyright by Takao Fujiwara, 2008 ***************************************************************************** * rrd_i18n.h Common Header File *****************************************************************************/ @@ -11,18 +11,18 @@ extern "C" { #ifndef _RRD_I18N_H #define _RRD_I18N_H -#ifndef _ -/* This is for other GNU distributions with internationalized messages. - When compiling libc, the _ macro is predefined. */ -#if defined(HAVE_LIBINTL_H) && defined(BUILD_LIBINTL) -# include -#define _(String) gettext (String) +#ifdef ENABLE_NLS +# ifdef _LIBC +# include +# else +# include "gettext.h" +# define _(String) gettext (String) +# endif #else -#define _(String) (String) -#endif -#define N_(String) (String) +# define _(String) (String) #endif +#define N_(String) String #endif