1 /*****************************************************************************
2 * RRDtool 1.3.1 Copyright by Takao Fujiwara, 2008
3 *****************************************************************************
4 * rrd_i18n.h Common Header File
5 *****************************************************************************/
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
11 #ifndef _RRD_I18N_H
12 #define _RRD_I18N_H
14 #ifndef _
15 /* This is for other GNU distributions with internationalized messages.
16 When compiling libc, the _ macro is predefined. */
17 #if defined(HAVE_LIBINTL_H) && defined(BUILD_LIBINTL)
18 # include <libintl.h>
19 #define _(String) gettext (String)
20 #else
21 #define _(String) (String)
22 #endif
23 #define N_(String) (String)
24 #endif
27 #endif
29 #ifdef __cplusplus
30 }
31 #endif