projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/rrd_graph.[ch]: Implemented the ":daemon=..." option for "DEF:" commands.
[rrdtool.git]
/
src
/
rrd_i18n.h
diff --git
a/src/rrd_i18n.h
b/src/rrd_i18n.h
index
8e6fcea
..
3265a76
100644
(file)
--- a/
src/rrd_i18n.h
+++ b/
src/rrd_i18n.h
@@
-1,28
+1,28
@@
/*****************************************************************************
/*****************************************************************************
- * RRDtool 1.
2.19
Copyright by Takao Fujiwara, 2008
+ * RRDtool 1.
4.2
Copyright by Takao Fujiwara, 2008
*****************************************************************************
* rrd_i18n.h Common Header File
*****************************************************************************/
#ifdef __cplusplus
*****************************************************************************
* rrd_i18n.h Common Header File
*****************************************************************************/
#ifdef __cplusplus
-extern "C" {
+extern
"C" {
#endif
#ifndef _RRD_I18N_H
#define _RRD_I18N_H
#endif
#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. */
-#ifdef HAVE_LIBINTL_H
-# 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