diff --git a/src/rrd_i18n.h b/src/rrd_i18n.h
index 83da36989c9daff4dc6b0d41034afec02f52191a..763c67a677a82ede707f47d143c8e19a9964f224 100644 (file)
--- a/src/rrd_i18n.h
+++ b/src/rrd_i18n.h
/*****************************************************************************
/*****************************************************************************
- * RRDtool 1.3.0 Copyright by Takao Fujiwara, 2008
+ * RRDtool 1.4.3 Copyright by Takao Fujiwara, 2008
*****************************************************************************
* rrd_i18n.h Common Header File
*****************************************************************************/
*****************************************************************************
* rrd_i18n.h Common Header File
*****************************************************************************/
#ifndef _RRD_I18N_H
#define _RRD_I18N_H
#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 <libintl.h>
-#define _(String) gettext (String)
+#ifdef ENABLE_NLS
+# ifdef _LIBC
+# include <libintl.h>
+# else
+# include "gettext.h"
+# define _(String) gettext (String)
+# endif
#else
#else
-#define _(String) (String)
-#endif
-#define N_(String) (String)
+# define _(String) (String)
#endif
#endif
+#define N_(String) String
#endif
#endif