From 8d721eb9d3a913666a152f0e5624fcc39c2944ec Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 21 Sep 2006 11:06:06 +0000 Subject: [PATCH] Include and define _. --- src/internal.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/internal.h b/src/internal.h index 37bff5c..3bb67fa 100644 --- a/src/internal.h +++ b/src/internal.h @@ -35,6 +35,13 @@ extern int m17n__gui_initialized; extern int mdebug_hook (); +#if ENABLE_NLS +#include +#define _(String) dgettext ("m17n-lib", String) +#else +#define _(String) (String) +#endif + /** Return with code RET while setting merror_code to ERR. */ #define MERROR(err, ret) \ -- 1.7.10.4