From: Lukas Berk Date: Mon, 14 Feb 2011 13:29:25 +0000 (-0500) Subject: PR 3823 Adding a conditional for the _() macro X-Git-Tag: release-1.5~229 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=ce4086c83e31b0a2c37cd7e9e75b39e850a83ee4;p=systemtap.git PR 3823 Adding a conditional for the _() macro --- diff --git a/session.h b/session.h index 82f0a4fcd..bd7b6ce14 100644 --- a/session.h +++ b/session.h @@ -26,7 +26,11 @@ extern "C" { #include } +#if ENABLE_NLS #define _(string) gettext(string) +#else +#define _(string) (string) +#endif // forward decls for all referenced systemtap types struct hash;