fix off by 1 error
[rrdtool.git] / src / rrd_i18n.h
1 /*****************************************************************************
2  * RRDtool 1.4.3  Copyright by Takao Fujiwara, 2008
3  *****************************************************************************
4  * rrd_i18n.h   Common Header File
5  *****************************************************************************/
6 #ifdef  __cplusplus
7 extern    "C" {
8 #endif
9
10
11 #ifndef _RRD_I18N_H
12 #define _RRD_I18N_H
13
14 #ifdef ENABLE_NLS
15 #  ifdef _LIBC
16 #    include <libintl.h>
17 #  else
18 #    include "gettext.h"
19 #    define _(String) gettext (String)
20 #  endif
21 #else
22 #  define _(String) (String)
23 #endif
24
25 #define N_(String) String
26
27 #endif
28
29 #ifdef  __cplusplus
30 }
31 #endif