From: handa Date: Thu, 21 Sep 2006 11:06:06 +0000 (+0000) Subject: Include and define _. X-Git-Tag: REL-1-3-4~46 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d721eb9d3a913666a152f0e5624fcc39c2944ec;p=m17n%2Fm17n-lib.git Include and define _. --- 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) \